On Thu, Feb 24, 2011 at 8:49 AM, Michael Geary <[email protected]> wrote: > Look, this horse left the barn years ago. You can make the case all you > want, but in the end you'll just have to live with the fact that extending > Object.prototype will break other people's code, so you just can't do it. >
And I'm sorry for being cranky about it. :-) I also wish the language made it a reasonable proposition to add Object.prototype methods - and as Ben mentioned future versions will - but at the moment it's not very practical because of the for..in loop problem. -Mike -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
