Array Methods 1.Shift() - This method is used to remove the first element from an array.While pop() method removes the last element. Example : let items=[‘first’,’second’,’third’]; items.shift(); console.log(items); //output : items=[‘second’,’third’] 2. Unshift() This method is used to add a new element at the beginning of an array.While …