Closed
Bug 1208842
Opened 9 years ago
Closed 9 years ago
some characters are not allowed in variable names even if ES6 allows them
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 917436
People
(Reporter: m93a.cz, Unassigned)
Details
Attachments
(1 file)
81 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
Build ID: 20150921004016
Steps to reproduce:
Open a JavaScript console, type "var
It seems the character has also broken Bugzilla. The thing is that double struck characters http://www.w3.org/TR/MathML2/double-struck.html are interpreted as invalid in variable names even though ES6 allows for them. See JavaScript Variable Name Validator https://mothereff.in/js-variables#%F0%9D%94%B8 for more info.
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Comment 2•9 years ago
|
||
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•