Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~106 People Reached
Favorite Forums
Favorite Tags
Member Avatar for hwfa

I'd like to build a structure in Javascript. I think it will be an array in which each element will have multiple properties. For example var person = new Object(); person[0].firstName="John"; person[0].lastName="Smith"; person[0].phoneNumber="555 1234"; person[1].firstName="Jane"; person[1].lastName="Robinson"; person[1].phoneNumber="555 6789"; etc. and then things like document.write(person[0].firstName); This doesn't seem to work. What …

Member Avatar for MattEvans
0
106