DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
remove first element of array javascript
const arr = ['foo', 'bar', 'qux', 'buz']; arr.shift(); // 'foo' arr; // ['bar', 'qux', 'buz']
Source by www.google.com #
PREVIOUS
NEXT
Tagged:
#remove
#element
#array
#javascript
ADD COMMENT
Topic
COMMENT
Name
3+9 =
Submit