Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js remove several elements from array

var ar = ['zero', 'one', 'two', 'three'];ar.shift(); // returns "zero"console.log( ar ); // ["one", "two", "three"]
Source by love2dev.com #
 
PREVIOUS NEXT
Tagged: #js #remove #elements #array
ADD COMMENT
Topic
Name
9+7 =