Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

return all elements of javascript array except the first item

var myarray = ["item 1", "item 2", "item 3", "item 4"];
    
myarray.shift();
alert(myarray);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #return #elements #javascript #array #item
ADD COMMENT
Topic
Name
7+4 =