Last active
May 28, 2018 04:45
-
-
Save Qolzam/037e7460fe2893ee5a104e0755ef247d to your computer and use it in GitHub Desktop.
module 1 commonjs import
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var module1 = require('module1'); | |
var module1Instance = new module1(); | |
module1Instance.hello(); // 'hello!' | |
module1Instance.world(); // 'world!' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment