Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to remove first element js

var array = [1, 2, 3]; // array of size 3
array.shift(); // removes first element
Source by sebhastian.com #
 
PREVIOUS NEXT
Tagged: #remove #element #js
ADD COMMENT
Topic
Name
9+9 =