DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js array push
const arr = ["foo", "bar"]; arr.push('baz'); // 3 arr; // ["foo", "bar", "baz"]
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#js
#array
#push
ADD COMMENT
Topic
COMMENT
Name
4+4 =
Submit