The following JavaScript program should throw an error: 08 As per the spec[1], `DecimalIntegerLiteral` can never be `0` directly followed by another decimal digit, although Chrome/Opera, PrestOpera, and Firefox do support it. Note that https://people.mozilla.org/~jorendorff/es6-draft.html#sec-additional-syntax-numeric-literals does not apply here because `8` is not an `OctalDigit`. [1] https://people.mozilla.org/~jorendorff/es6-draft.html#sec-literals-numeric-literals
Whoops, i'm a muppet and didn't see this. Filed another bug that's on the real strict mode restrictions being incorrectly applied. But that also has radar linkage. *** This bug has been marked as a duplicate of bug 135704 ***