Skip to content

Commit

Permalink
Merge pull request #1 from simmayor/fnCounterTask
Browse files Browse the repository at this point in the history
task.md - 'decrease' probably should not have an argument
  • Loading branch information
simmayor authored Dec 6, 2018
2 parents de34541 + b9b944d commit d736fd9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Modify the code of `makeCounter()` so that the counter can also decrease and set

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

See the sandbox code for the complete usage example.

Expand Down

0 comments on commit d736fd9

Please sign in to comment.