DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
remove the last element of an array javascript
arr.splice(-1,1) // OR arr.splice(arr.length-1,1) // OR arr.pop()
PREVIOUS
NEXT
Tagged:
#remove
#element
#array
#javascript
ADD COMMENT
Topic
COMMENT
Name
7+5 =
Submit