UNPKG
zensar_add_mult_module
Version:
latest (1.0.1)
1.0.1
1.0.0
This is simple Calculator module with add and mult methods
zensar_add_mult_module
/
index.js
8 lines
•
193 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
module
.
exports
.
Calculator
=
function
(
){
this
.
addition
=
function
(
no1,no2
){
return
no1+no2; },
this
.
multiplication
=
function
(
no1,no2
){
return
no1*no2; } }