js array remove the first eitem 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