How To Remove Items From An Array in JavaScript

preview_player
Показать описание
Removing One Element Using shift()
The array methods shift() and unshift() work on the beginning of an array instead of the end of an array, as is the case with push() and pop(). The shift() command will remove the first element of the array and the unshift() command will add an element to the beginning of the array.
Рекомендации по теме
welcome to shbcf.ru