UNPKG

calci_d7

Version:

6 lines 297 B
var calculator = require('./calc'); var x = 45,y = 10; console.log("Addition of 4 and 10"+calculator.add(x,y)); console.log("Subtraction of 4 and 10"+calculator.sub(x,y)); console.log("Multiplication of 4 and 10"+calculator.mult(x,y)); console.log("Division of 4 and 10"+calculator.div(x,y));