var h = $H({});
h.set('__proto__','sadfdsf');
alert( typeof( h.get('__proto__') ));

Also try these:

alert(Object.toQueryString('hasOwnProperty=1'.toQueryParams()));
// hasOwnProperty=function%20()%20%7B%20%5Bnative%20code%5D
%20%7D&hasOwnProperty=1

May be  "Object.prototype.hasOwnProperty.call(hash,key)" should be
used instead of 'key in hash' operator?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to 
prototype-core-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to