Please do not add new properties to Object.prototype. It is for good
reason that Crockford's .beget method is not going to be added to
Object.prototype - that could break many existing codebases much as
you've found with Maps API v3. Working around unexpected properties
on Object.prototype will slow down the various places we use Objects
as hash maps, as William points out.
I suggest using Object.beget: http://www.room51.co.uk/js/beget.html.
Cheers
Ben
> --
> You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
> To post to this group, send email to google-map...@googlegroups.com.
> To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>