Skip to content

Instantly share code, notes, and snippets.

@victorvhpg
Last active August 29, 2015 14:15
Show Gist options
  • Save victorvhpg/667b4cfcfeb7053fff79 to your computer and use it in GitHub Desktop.
Save victorvhpg/667b4cfcfeb7053fff79 to your computer and use it in GitHub Desktop.
modulo qualquerCoisa
"use strict";
//exportando propriedades e metodos do modulo
exports.qualQuerValor = "1111111";
exports.fazAlgo = function() {
console.log("fazAlgo");
};
exports.fazAlgoDiferente = function() {
console.log("fazAlgoDiferente");
};
exports.naoFazDada = function() {
console.log("naoFazDada");
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment