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