>
>
> @Emily: why not use hasOwnProperty for contains (rather than the "in"
> operator)? (and an hasOwnProperty check within "for (k in map)" loops)
> Of course this would mean that get() could return a non-null value
> while contains() for the same key returns "false"...
>

hasOwnProperty is not supported  in Safari 2, so I'm trying to avoid it,
though using it in containsKey may be required, in which case it just won't
work correctly on the Safari 2 browser.



-- 
"There are only 10 types of people in the world: Those who understand
binary, and those who don't"

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to