.entries() vs. the web

Brendan Eich brendan at mozilla.org
Mon Jun 16 20:11:03 PDT 2014

Would .items fare better, I wonder.


Oliver Hunt wrote:
> It turns out there are a number of sites (such as mobile.twitter.com 
> <http://mobile.twitter.com>) that are property detecting .entries on 
> objects, and that means that they're breaking when 
> Array.prototype.entries is provided.
> We're removing it from JSC now, until we can find a way to expose it 
> without causing site breakage, although this does seem like fixing it 
> would require bringing back the awful "pretend that you're undefined" 
> horror.
> --Oliver
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss

More information about the es-discuss mailing list