Early error on '0' followed by '8' or '9' in numeric literals does not seem to be web-compatible

Brendan Eich brendan at mozilla.org
Mon Aug 4 21:09:51 PDT 2014


Jason Orendorff wrote:
> 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".)

I confess I did it because C compilers from PCC to GCC allowed it. Dunno 
about Java back in May '95.

/be


More information about the es-discuss mailing list