UNPKG

elementary-arithmetic

Version:

Addition, subtraction, multiplication and division are the four basic operations of elementary arithmetic.

15 lines (12 loc) 259 B
module.exports.addition = function (a, b) { return a + b }; module.exports.subtraction = function (a, b) { return a - b }; module.exports.multiplication = function (a, b) { return a * b }; module.exports.division = function (a, b) { return a / b };