Learn JavaScript
Array Methods
20.2
Lesson

Adding Array element - unshift

The unshift() method adds a new element at the beginning of an array.