We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf914f1 commit fc8e2d0Copy full SHA for fc8e2d0
1-js/04-object-basics/04-object-methods/8-chain-calls/solution.md
@@ -1,4 +1,4 @@
1
-The solution is to return the object itself from every call.
+Rozwiązaniem jest zwracanie obiektu z każdej funkcji.
2
3
```js run demo
4
let ladder = {
@@ -26,7 +26,7 @@ let ladder = {
26
ladder.up().up().down().up().down().showStep(); // 1
27
```
28
29
-We also can write a single call per line. For long chains it's more readable:
+Przy długich łańcuchach kodu, możemy każdy człon umieszczać w osobnej linijce, dla zwiększenia czytelności:
30
31
```js
32
ladder
0 commit comments