Answers for "Changes the first element in fruits to undefined"

0

Changes the first element in fruits to undefined

var fruits = ["Banana", "Orange", "Apple", "Mango"];

delete fruits[0];          
// Changes the first element in fruits to undefined
Posted by: Guest on April-24-2021

Code answers related to "Changes the first element in fruits to undefined"

Browse Popular Code Answers by Language