how do i create an array
There are two ways to create a JS array:
var myArray = new Array();
The array literal
var myArray = ;
Obviously the literal is simpler, and is the usual method.
ok i think i've got that, but the instructions are a bit unclear and I'm not sure how to do the things in the instructions
var myArray = [junk]; it asked me to create an Array called junk is this how to do it?
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.