Skip to content

Commit ecc36d4

Browse files
committed
Done.
1 parent 8faaa0a commit ecc36d4

File tree

12 files changed

+37
-0
lines changed

12 files changed

+37
-0
lines changed

.editorconfig

100644100755
File mode changed.

.gitignore

100644100755
File mode changed.

.learn

100644100755
File mode changed.

CONTRIBUTING.md

100644100755
File mode changed.

LICENSE.md

100644100755
File mode changed.

README.md

100644100755
File mode changed.

index.html

100644100755
File mode changed.

index.js

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

package.json

100644100755
File mode changed.

test/index-test.js

100644100755
File mode changed.

test/mocha.opts

100644100755
File mode changed.

test/root.js

100644100755
File mode changed.

0 commit comments

Comments
 (0)