Created
September 16, 2017 22:00
-
-
Save kiramishima/b00aeae89080b632c7b459bd4d270897 to your computer and use it in GitHub Desktop.
Ejemplo de Modulo
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
/*Create Function On Fly*/ | |
var Call=function() { | |
console.log("Hello! This is Call Function"); | |
} | |
/*Function Take Name of Function as parameter */ | |
var CallFun=function () { | |
console.log("Invoke call Function"); | |
} | |
/*Export callFun*/ | |
module.exports.Method1 = CallFun; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment