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.
2 parents de34541 + b9b944d commit d736fd9Copy full SHA for d736fd9
1-js/06-advanced-functions/06-function-object/2-counter-inc-dec/task.md
@@ -8,7 +8,7 @@ Modify the code of `makeCounter()` so that the counter can also decrease and set
8
9
- `counter()` should return the next number (as before).
10
- `counter.set(value)` should set the `count` to `value`.
11
-- `counter.decrease(value)` should decrease the `count` by 1.
+- `counter.decrease()` should decrease the `count` by 1.
12
13
See the sandbox code for the complete usage example.
14
0 commit comments