wizard999
11/4/2019 - 10:21 AM

Pop, Push, Shift and Unshift Array Methods in JavaScript

pop(): Remove an item from the end of an array.
push(): Add items to the end of an array.
shift(): Remove an item from the beginning of an array.
unshift(): Add items to the beginning of an array.