Merge pull request #743 from maurodibert/patch-17

Update task.md
This commit is contained in:
Ilya Kantor 2019-01-21 20:39:36 +03:00 committed by GitHub
commit de782bbc5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ ladder.down();
ladder.showStep(); // 1
```
Modify the code of `up` and `down` to make the calls chainable, like this:
Modify the code of `up`, `down` and `showStep` to make the calls chainable, like this:
```js
ladder.up().up().down().showStep(); // 1