UNPKG
finalcalc
Version:
latest (1.0.0)
1.0.0
this is for final check
finalcalc
/
cal.js
5 lines
•
173 B
JavaScript
View Raw
1
2
3
4
5
var
math
=
require
(
"finalcalc"
); console.
log
(
math
.calc(
10
,
20
,
'+'
)); console.
log
(
math
.calc(
20
,
10
,
'-'
)); console.
log
(
math
.calc(
10
,
20
,
'*'
)); console.
log
(
math
.calc(
20
,
2
,
'/'
));