DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript last element
// es13(2022) let foo = [1,2,3,4,5]; foo.at(-1); // === 5
Source by www.codegrepper.com #
PREVIOUS
NEXT
Tagged:
#javascript
#element
ADD COMMENT
Topic
COMMENT
Name
8+1 =
Submit