Skip to content

Commit 433caed

Browse files
committed
Done.
1 parent c723da2 commit 433caed

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

index.js

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
function add(){}
2+
function subtract(){}
3+
function multiply(){}
4+
function divide(){}
5+
function add(a, b)
6+
{
7+
return a + b;
8+
}
9+
function subtract(a, b)
10+
{
11+
return a - b;
12+
}
13+
function multiply(a, b)
14+
{
15+
return a * b;
16+
}
17+
function divide(a, b)
18+
{
19+
return a / b;
20+
}
21+
function increment(n)
22+
{
23+
return n+=1;
24+
}
25+
function decrement(n)
26+
{
27+
return n-=1;
28+
}
29+
function makeInt(n)
30+
{
31+
return parseInt(n,10);
32+
}
33+
function preserveDecimal(n)
34+
{
35+
return parseFloat(n);
36+
}

0 commit comments

Comments
 (0)