UNPKG

calc_with_square_and_cube

Version:

Simple calculator with square and cube functionality

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