Early error on '0' followed by '8' or '9' in numeric literals does not seem to be web-compatible
waldron.rick at gmail.com
Mon Aug 4 11:05:09 PDT 2014
On Mon, Aug 4, 2014 at 9:55 AM, Jason Orendorff <jason.orendorff at gmail.com>
> On Mon, Aug 4, 2014 at 11:43 AM, Mark S. Miller <erights at google.com>
> > Isn't the early error required only for strict code?
> Legacy octal integer literals are banned altogether in strict code. We
> implement that and have had no trouble with it.
> We're talking about something different here, legacy *decimal* integer
> literals starting with 0 and containing 8 or 9. As far as I know, no
> version of ES has ever permitted this kind of nonsense, but supporting
> it is apparently required for Web compatibility. (One more great
> reason to write all your code under "use strict".)
> Boris and I would like B.1.1 to be changed to match the horrible reality.
I've started the Sept meeting agenda with this item:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss