Array 'shift' method in Javascript (Array.prototype.shift)

preview_player
Показать описание
The shift method allows you to remove the first element in an Array - it will also return the removed element.

In this video we see it in action.

For your reference:

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
Рекомендации по теме
Комментарии
Автор

exactly what i was looking for. simple, no waste talk, straight to the point. thank you so much :))

マサの東欧日記