DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js remove first and last element from array
a = [1,2,3,4] b = a.slice(1,-1);
PREVIOUS
NEXT
Tagged:
#js
#remove
#element
#array
ADD COMMENT
Topic
COMMENT
Name
4+4 =
Submit