Manipulate Arrays With unshift, freeCodeCamp Basic Javascript

preview_player
Показать описание
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.
Рекомендации по теме
Комментарии
Автор

The thing about this lesson was the example of their explanation didn't look similar to the exercise.

worldoftech
Автор

This is what I wrote and is not working for me.... myArray.unshift(["paul", 35]);

VickyLatorreArt
join shbcf.ru