js pop original array code example Example: remove first element of array javascript var fruits = ["Banana", "Orange", "Apple", "Mango"] fruits.shift()