DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to add to an array
var ar = ['one', 'two', 'three']; ar[3] = 'four'; // add new element to ar
Source by www.dyn-web.com #
PREVIOUS
NEXT
Tagged:
#add
#array
ADD COMMENT
Topic
COMMENT
Name
2+6 =
Submit