Skip to content

Instantly share code, notes, and snippets.

@kiramishima
Created September 16, 2017 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kiramishima/b00aeae89080b632c7b459bd4d270897 to your computer and use it in GitHub Desktop.
Save kiramishima/b00aeae89080b632c7b459bd4d270897 to your computer and use it in GitHub Desktop.
Ejemplo de Modulo
/*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