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