archives

« Bugzilla Issues Index

#3258 — Updates: Legacy Decimal Integer Literals starting with 0 and containing 8 or 9.


- Leave strict mode as-is
- Disallow leading zeroes, except for the constant 0 (and 0.1234 etc)
- Annex B non-strict: explicitly define the current interoperable behavior
- \8 and \9 are equivalent to literal 8 and 9
- '\08' is NUL char and then '8', '\08'.length is 2


fixed in rev28 editor's draft

See Bug 2792


fixed in rev28