Merge pull request #3027 from Rnbsov/patch-56

👾 fix typo
This commit is contained in:
Ilya Kantor 2022-06-13 12:16:06 +02:00 committed by GitHub
commit 09340308dd
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 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: The `shift` operation must do 3 things: