UNPKG

zendap_calculator

Version:

Simple calculator with square and cube functionality

9 lines (8 loc) 172 B
module.exports.Calculator = function(){ this.square = function(no){ return no*no; }, this.cube = function(no){ return no*no*no; } }