DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Remove an item from the beginning of an Array
let first = fruits.shift() // remove Apple from the front // ["Banana"]
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#Remove
#item
#beginning
#Array
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit