Skip to content

Commit 98b443d

Browse files
authored
Update solution code
1 parent cce5f75 commit 98b443d

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

index.js

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,3 @@ let wrapAdjective = function(style="*") {
1111
return `You are ${style}${adjective}${style}!`
1212
}
1313
}
14-
15-
const Calculator = {
16-
add: function(a,b) {
17-
return a + b;
18-
},
19-
subtract: function(a,b) {
20-
return a - b
21-
},
22-
multiply: function(a,b) {
23-
return a * b
24-
},
25-
divide: function(a,b) {
26-
return a / b;
27-
}
28-
}
29-
30-
let actionApplyer = function(start, ray) {
31-
let a = start
32-
33-
for (let i = 0; i < ray.length; i++ ){
34-
a = ray[i](a)
35-
}
36-
37-
return a
38-
}

0 commit comments

Comments
 (0)