We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04b2fcf commit a2fc956Copy full SHA for a2fc956
1-js/05-data-types/05-array-methods/article.md
@@ -10,8 +10,8 @@ We already know methods that add and remove items from the beginning or the end:
10
11
- `arr.push(...items)` -- adds items to the end,
12
- `arr.pop()` -- extracts an item from the end,
13
-- `arr.shift(...items)` -- adds items to the beginning,
14
-- `arr.unshift()` -- extracts an item from the beginning.
+- `arr.shift()` -- extracts an item from the beginning.
+- `arr.unshift(...items)` -- adds items to the beginning,
15
16
Here are few others.
17
0 commit comments