Closed Bug 1226881 Opened 9 years ago Closed 9 years ago

SyntaxError: super is a reserved identifier

Categories

(Core :: JavaScript Engine, defect)

43 Branch
defect
Not set
normal

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/jrP2nZ0j6m2AND6hNVjM?p=preview


Actual results:

SyntaxError: super is a reserved identifier


Expected results:

alert('I'm walking'); should be shown
Same as bug 1226882. 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.