We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 04b2fcf + 841386f commit 1782f06Copy full SHA for 1782f06
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