We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cd109f5 + ee5f596 commit b69e7cfCopy full SHA for b69e7cf
js/lesson2/tutorial.md
@@ -105,6 +105,8 @@ animals.unshift("cow")
105
106
> What do you expect to get when apply `pop()` to the animals array? Try it out.
107
108
+Analogously, `array.shift()` removes and returns the *first* element of the array.
109
+
110
### Ordering
111
112
To order the elements of an array we can use `sort()`.
0 commit comments