Manipulate Arrays With unshift, freeCodeCamp Basic Javascript

Lesson Summary

In this challenge we learn how to add an element to the beginning of an array using the unshift function. This javascript function works similarly to the push function except instead of adding to the end of an array, this adds to the beginning.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required