DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
append array js
var
colors
=
[
"red"
,
"blue"
]
;
colors
.
push
(
"yellow"
)
;
//["red","blue","yellow"]
PREVIOUS
NEXT
Tagged:
#append
#array
#js
ADD COMMENT
Topic
COMMENT
Name
2+6 =
Submit