filmov
tv
Working with Arrays : Shift and Unshift Methods in JavaScript

Показать описание
Learn how to use the shift and unshift methods in JavaScript. The shift method adds to the front of the list and returns the length of the array. While the unshift method removes the element at the front of the array and returns it.