Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript array delete first element

var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.shift();
// var fruits = ["Orange", "Apple", "Mango"];
Source by www.google.com #
 
PREVIOUS NEXT
Tagged: #javascript #array #delete #element
ADD COMMENT
Topic
Name
9+1 =