how to remove first element in array node 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