Skip to content

Commit c69c0d8

Browse files
committed
update src/index.js
1 parent 6247305 commit c69c0d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ function add(a, b) {
88
return a + b;
99
}
1010

11+
function subtract(a, b) {
12+
return add(a, -b);
13+
}
14+
1115
module.exports = add;

0 commit comments

Comments
 (0)