In this article, we will learn about four array methods i.e. push(), pop(), shift() and unshift() which allow us to add and remove elements from beginning and end of an array.
Link: https://www.hackinbits.com/articles/js/push-pop-shift-and-unshift-array-methods-in-javascript