remove to array in js code example Example: remove first element from array javascript var fruits = ["Banana", "Orange", "Apple", "Mango"]; fruits.shift();