This commit is contained in:
wonderingabout 2020-03-27 07:56:26 +01:00
parent 162280b6d2
commit 0903209ce3

View file

@ -462,7 +462,7 @@ list.next.next.next = { value: 4 };
list.next.next.next.next = null;
```
Here we can even more clearer see that there are multiple objects, each one has the `value` and `next` pointing to the neighbour. The `list` variable is the first object in the chain, so following `next` pointers from it we can reach any element.
Here we can even more clearly see that there are multiple objects, each one has the `value` and `next` pointing to the neighbour. The `list` variable is the first object in the chain, so following `next` pointers from it we can reach any element.
The list can be easily split into multiple parts and later joined back: