remove all first value from array javascript code example
Example 1: remove first element of array javascript
var fruits = ["Banana", "Orange", "Apple", "Mango"]
fruits.shift()
Example 2: javascript remove first item from array
type answer
var fruits = ["Banana", "Orange", "Apple", "Mango"]
fruits.shift()
type answer