Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript delete second last element of array

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