All Array method in JavaScript
push(element1, element2, ...): Adds one or more elements to the end of an array.
pop(): Removes and returns the last element of an array.
unshift(element1, element2, ...): Adds one or more elements to the beginning of an array.
shift(): Removes an...
manojv.hashnode.dev2 min read