Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

array remove first element js

var arr = ["f", "o", "o", "b", "a", "r"]; 
arr.shift(); 
console.log(arr); // ["o", "o", "b", "a", "r"]
Source by sebhastian.com #
 
PREVIOUS NEXT
Tagged: #array #remove #element #js
ADD COMMENT
Topic
Name
8+8 =