[Webkit-unassigned] [Bug 179340] New: Hex, octal and binary prefixes don't support capital letters
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 6 13:22:50 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=179340
Bug ID: 179340
Summary: Hex, octal and binary prefixes don't support capital
letters
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: d3ck0r at gmail.com
https://github.com/WebKit/webkit/blob/master/Source/JavaScriptCore/parser/Lexer.cpp#L2104
Was browsing the source to see how numbers were parsed for potential complexity in supporting proposal https://github.com/tc39/proposal-numeric-separator .
I found that only 'x', 'b', and 'o' is supported for numbers, although the standard says that capital or lower case letters should be allowed.
https://www.ecma-international.org/ecma-262/6.0/#sec-literals-numeric-literals
(ES6) I see that ES5 did not support 'o' or 'b' either.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171106/44b49f91/attachment.html>
More information about the webkit-unassigned
mailing list