UNPKG
06_why_utils1
Version:
latest (1.2.1)
1.2.1
1.2.0
1.1.0
1.0.0
a javascript utils
06_why_utils1
/
math.js
12 lines
(9 loc)
•
185 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
function
sum
(
num1, num2
) {
return
num1 + num2 }
export
function
mul
(
num1, num2
) {
return
num1 * num2 }
export
function
chu
(
num1, num2
) {
return
num1 / num2 }