-
-
Save TheSavior/a313d6ab07ba029d1837 to your computer and use it in GitHub Desktop.
CommonJS Testing Private Function
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
'use strict'; | |
function add(num1, num2) { | |
return num1 + num2; | |
} | |
var Utils = { | |
add2: function(num) { | |
return add(num, 2); | |
} | |
}; | |
module.exports = Utils; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment