Created
September 16, 2017 22:03
-
-
Save kiramishima/cac24812f313c40246824cb5b8e3633f to your computer and use it in GitHub Desktop.
Ejemplo uso de modulo javascript (usaremos sample_module.js)
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 obj = require('./sample_module.js'); | |
/*Invoke CallFun function Of main.js*/ | |
obj.Method1(); | |
console.log("Hello! Nodejs"); | |
// Output: | |
// Invoke call Function | |
// Hello! Nodejs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment