permaculture playing cards*
The moose likes HTML, CSS and JavaScript and the fly likes Is there a concept of Map in javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Is there a concept of Map in javascript" Watch "Is there a concept of Map in javascript" New topic
Author

Is there a concept of Map in javascript

Joshua Antony
Ranch Hand

Joined: Jun 05, 2006
Posts: 254
I have come across a situation in which I need to store related objects as key and value, but could not find any javascript object that can be used to hold key value pair.

Is there any javascript object with similar funtionality ?, If not what is the workaround ?

Regards,
Joshua


SCJP,SCWCD, Into ATG now!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61457
    
  67

A recent thread covered this exact ground.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Joshua Antony
Ranch Hand

Joined: Jun 05, 2006
Posts: 254
Thanks Bear,

Regards,
Joshua.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Is there a concept of Map in javascript