Early error on '0' followed by '8' or '9' in numeric literals does not seem to be web-compatible
Mark S. Miller
erights at google.com
Mon Aug 4 09:43:20 PDT 2014
Isn't the early error required only for strict code?
On Mon, Aug 4, 2014 at 9:39 AM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> When SpiderMonkey tried to implement an early error for cases like this:
> as the current spec draft requires, we got bug reports about web sites
> being broken as a result. Specifically, there were two issues we
> 1) Things like new Date(2013,08,12);
> 2) Servers sending things like account numbers as numeric literals,
> complete with leading zeros [yes, I know, this is so broken, they're still
> doing it].
> I believe we'll be backing out this change; it doesn't seen to be worth
> the web compat hit.
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss