👾fix typo

This commit is contained in:
Lavrentiy Rubtsov 2022-05-24 00:26:32 +06:00 committed by GitHub
parent 2efe0dce18
commit 825cf306e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -281,7 +281,7 @@ Why is it faster to work with the end of an array than with its beginning? Let's
fruits.shift(); // take 1 element from the start
```
It's not enough to take and remove the element with the number `0`. Other elements need to be renumbered as well.
It's not enough to take and remove the element with the index `0`. Other elements need to be renumbered as well.
The `shift` operation must do 3 things: