[Webkit-unassigned] [Bug 126618] New: `DecimalIntegerLiteral` can never be `0` directly followed by another decimal digit
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 7 23:31:28 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=126618
Summary: `DecimalIntegerLiteral` can never be `0` directly
followed by another decimal digit
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mathias at qiwi.be
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
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list