PDA

View Full Version : Can you make an array of objects in JS?



R0b0t1
08-17-2007, 04:56 AM
I haven't figures out if you can make an array of objects in JavaScript yet.


Tell me if I can't :D.




PS. For an web-based world switcher... I want to make an array of an object called world.

EDIT: What is the current webpage stored in? I think its navigator.location.http but i'm proably wrong.

Jason2gs
08-17-2007, 06:48 AM
http://www.slis.indiana.edu/faculty/hrosenba/www/Demo/javascript2/arrays.html

That? Tsk tsk for not doing your own Google search!

R0b0t1
08-17-2007, 06:55 AM
The guides I read didn't say whether or not.

Lol.