Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js array last element

array.slice(-1)[0]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #array #element
ADD COMMENT
Topic
Name
6+8 =