On 02/10/2014 17:30, David Rajchenbach-Teller wrote:
> On 02/10/14 10:49, James Graham wrote:
>> Unfortunately js libraries aren't like web browsers; you can't just ship
>> a new version and upgrade all existing users in a matter of weeks.
>> Instead usage of the broken versions may continue for years, depending
>> on the popularity of the library, how long it had been broken for, and
>> so on.

> Is there even a solution to that problem? Could, say,
> `Array.prototype.contains` be instantiated lazily when called and only
> if no `Array.prototype.contains` has been defined by web code?

I would have expected that their polyfill would be smart enough to
notice a ES7 compliant A.p.contains() and defer to it.

Phil

-- 
Philip Chee <phi...@aleytys.pc.my>, <philip.c...@gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to