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