Skip to content

Commit fc8e2d0

Browse files
authored
translated
1 parent bf914f1 commit fc8e2d0

File tree

1 file changed

+2
-2
lines changed
  • 1-js/04-object-basics/04-object-methods/8-chain-calls

1 file changed

+2
-2
lines changed

1-js/04-object-basics/04-object-methods/8-chain-calls/solution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
The solution is to return the object itself from every call.
1+
Rozwiązaniem jest zwracanie obiektu z każdej funkcji.
22

33
```js run demo
44
let ladder = {
@@ -26,7 +26,7 @@ let ladder = {
2626
ladder.up().up().down().up().down().showStep(); // 1
2727
```
2828

29-
We also can write a single call per line. For long chains it's more readable:
29+
Przy długich łańcuchach kodu, możemy każdy człon umieszczać w osobnej linijce, dla zwiększenia czytelności:
3030

3131
```js
3232
ladder

0 commit comments

Comments
 (0)