Fix typo
This commit is contained in:
parent
852b9bf581
commit
c6620f6b9d
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ The loop variant is also a little bit more complicated then the direct output.
|
||||||
|
|
||||||
There is no way to get the last value in our `list`. We also can't "go back".
|
There is no way to get the last value in our `list`. We also can't "go back".
|
||||||
|
|
||||||
So what we can do is to first go through the items in the direct order and rememeber them in an array, and then output what we remembered in the reverse order:
|
So what we can do is to first go through the items in the direct order and remember them in an array, and then output what we remembered in the reverse order:
|
||||||
|
|
||||||
```js run
|
```js run
|
||||||
let list = {
|
let list = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue