Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript delete second last element of array

arr.splice(arr.length - 2, 1);
 
PREVIOUS NEXT
Tagged: #javascript #delete #element #array
ADD COMMENT
Topic
Name
8+1 =