Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

last element in array

arr.slice(-1).pop()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #element #array
ADD COMMENT
Topic
Name
4+4 =