Skip to content

Instantly share code, notes, and snippets.

@Qolzam
Last active May 28, 2018 04:05
Show Gist options
  • Save Qolzam/dfa87ecee021f1c018f9fec7dab8b8b6 to your computer and use it in GitHub Desktop.
Save Qolzam/dfa87ecee021f1c018f9fec7dab8b8b6 to your computer and use it in GitHub Desktop.
module2 export by common js
function module2() {
this.my = function() {
return 'my!';
}
this.world = function() {
return 'world!';
}
}
module.exports = module2;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment