Skip to content

Commit d736fd9

Browse files
authored
Merge pull request #1 from simmayor/fnCounterTask
task.md - 'decrease' probably should not have an argument
2 parents de34541 + b9b944d commit d736fd9

File tree

1 file changed

+1
-1
lines changed
  • 1-js/06-advanced-functions/06-function-object/2-counter-inc-dec

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/06-function-object/2-counter-inc-dec/task.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Modify the code of `makeCounter()` so that the counter can also decrease and set
88

99
- `counter()` should return the next number (as before).
1010
- `counter.set(value)` should set the `count` to `value`.
11-
- `counter.decrease(value)` should decrease the `count` by 1.
11+
- `counter.decrease()` should decrease the `count` by 1.
1212

1313
See the sandbox code for the complete usage example.
1414

0 commit comments

Comments
 (0)