SRL Archive - Web Development

Can you make an array of objects in JS?


R0b0t1

2007-08-17 00:56:34

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

2007-08-17 02:48:56

http://www.slis.indiana.edu/faculty/hrosenba/www/Demo/javascript2/arrays.html

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

R0b0t1

2007-08-17 02:55:41

The guides I read didn't say whether or not.

Lol.