commit
de782bbc5b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue