We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28fa484 commit ad3dda1Copy full SHA for ad3dda1
1 file changed
JavaScript/8-adder.js
@@ -2,7 +2,7 @@
2
3
const adder = (a) => {
4
const value = () => a;
5
- const add = (b) => adder(a + b);
+ const add = b => adder(a + b);
6
return { add, value };
7
};
8
0 commit comments