In JavaScript, all Objects act a bit like hashmaps. However, the keys to these hashmaps must be strings. If they\'re not, they\'re converted with toString(). Tha
toString()
Prototype has Hash quite nicely covered http://prototypejs.org/api/hash