Skip to content

Commit

Permalink
Update task.md
Browse files Browse the repository at this point in the history
  • Loading branch information
simmayor authored Dec 6, 2018
1 parent de34541 commit b9b944d
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 b9b944d

Please sign in to comment.