Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js array delete specific element

var ar = [1, 2, 3, 4, 5, 6];
ar.pop(); // returns 6
console.log( ar ); // [1, 2, 3, 4, 5]
Source by flaviocopes.com #
 
PREVIOUS NEXT
Tagged: #js #array #delete #specific #element
ADD COMMENT
Topic
Name
5+6 =