|
Prototype's Hash object also has convenient merge() and toQueryString() methods. This article shows the merge() method. Here's a link to an excellent reference to the Hash object:
http://www.sergiopereira.com/articles/prototype.js.html#Reference.Hash
You can pass a JS object as a parameter to the $H() Prototype method; the return value is one of these hash objects. At the very least, Prototype saves the development/debugging time associated with creating your own hash utility object.
|