Skip to content

Instantly share code, notes, and snippets.

@freshcutdevelopment
Created October 23, 2015 21:22
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 freshcutdevelopment/5f398f8d27b3d38f0b48 to your computer and use it in GitHub Desktop.
Save freshcutdevelopment/5f398f8d27b3d38f0b48 to your computer and use it in GitHub Desktop.
var calculator = (function () {
return {
add: function(x, y){
return x + y;
},
subtract: function(x,y){
return x - y;
}
};
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment