From b9b944dfe6bcd78b66fa764e2541c4d45efd0571 Mon Sep 17 00:00:00 2001 From: simmayor Date: Thu, 6 Dec 2018 14:47:40 -0500 Subject: [PATCH] Update task.md --- .../06-function-object/2-counter-inc-dec/task.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/06-advanced-functions/06-function-object/2-counter-inc-dec/task.md b/1-js/06-advanced-functions/06-function-object/2-counter-inc-dec/task.md index e34bb67b..0177c8f6 100644 --- a/1-js/06-advanced-functions/06-function-object/2-counter-inc-dec/task.md +++ b/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 - `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.