Last active
November 4, 2015 08:50
-
-
Save lesniakania/33288052772c4016c470 to your computer and use it in GitHub Desktop.
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
// calculator.js | |
module.exports.sum = function (a, b) { | |
return a + b; | |
}; | |
// app.js | |
var calculator = require("calculator"); | |
console.log(calculator.sum(1, 2)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment