DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to remove first element js
var
array
=
[
1
,
2
,
3
]
;
// array of size 3
array
.
shift
(
)
;
// removes first element
Source by sebhastian.com #
PREVIOUS
NEXT
Tagged:
#remove
#element
#js
ADD COMMENT
Topic
COMMENT
Name
8+8 =
Submit