Open main menu
Changes
JavaScript Arrays
8 bytes added
,
14:25, 15 May 2007
→
Initializing the Elements of an Array
</pre>
Another mechanism is to assign an item to each array element slot using an index value surrounded by
[ and ]
square brackets
:
<pre>
← Older edit
Newer edit →
Neil
Bureaucrat
,
administrator
34,333
edits