UNPKG
02wzdbcala
Version:
latest (1.0.1)
1.0.1
1.0.0
简简单单的计算器
02wzdbcala
/
lib
/
cala.js
18 lines
(13 loc)
•
249 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
const
add
= (
x,y
) =>{
return
x + y }
const
subtraction
= (
x,y
) =>{
return
x - y }
const
ride
= (
x,y
) => {
return
x * y }
const
str =
'nbsp'
exports
.
add
= add
exports
.
subtraction
= subtraction
console
.
log
(
ride
(
2
,
5
));