Skip to content

Instantly share code, notes, and snippets.

@ronaiza-cardoso
Created November 8, 2016 17:27
Show Gist options
  • Save ronaiza-cardoso/57eb3268e54efeabf6daf4fe22b6bd69 to your computer and use it in GitHub Desktop.
Save ronaiza-cardoso/57eb3268e54efeabf6daf4fe22b6bd69 to your computer and use it in GitHub Desktop.
'use strict';
module.exports = {
sum: (n1, n2) => {
return n1 + n2;
},
sub: (n1, n2) => {
return n1 - n2;
},
div: (n1, n2) => {
return n1 / n2;
},
mult: (n1, n2) => {
return n1 * n2;
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment