Closed
Bug 1226882
Opened 9 years ago
Closed 9 years ago
SyntaxError: class is a reserved identifier
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1197932
People
(Reporter: elennaro, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20151119130424
Steps to reproduce:
http://plnkr.co/edit/Jbr35oNyE6qyeLCutAhP?p=preview
Actual results:
SyntaxError: class is a reserved identifier
Expected results:
alert("John"); Should be called
Comment 1•9 years ago
|
||
At the moment, classes are only supported on Nightly:
https://dxr.mozilla.org/mozilla-central/rev/3f5afaf4e6b72c4b1a20749b4ce7d945add5299f/js/src/jsversion.h#40
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•