This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 239881 - javascript's const keyword not recognized as a valid statement
Summary: javascript's const keyword not recognized as a valid statement
Status: RESOLVED DUPLICATE of bug 226477
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-30 23:15 UTC by rednael
Modified: 2014-01-02 07:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (35.48 KB, text/plain)
2013-12-30 23:15 UTC, rednael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rednael 2013-12-30 23:15:32 UTC
Product Version = NetBeans IDE 7.4 (Build 201310111528)
Operating System = Windows 8 version 6.2 running on x86
Java; VM; Vendor = 1.7.0_45
Runtime = Java HotSpot(TM) Client VM 24.45-b08

The const keyword of javascript does not seem to be supported by the Editor, as it gives the error "Expected an operand but found const".
Const has been around for quiet some time. Since javascript 1.5.
Please see the javascript reference for more information: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const
Comment 1 rednael 2013-12-30 23:15:36 UTC
Created attachment 143527 [details]
IDE log
Comment 2 Vladimir Riha 2014-01-02 07:03:55 UTC

*** This bug has been marked as a duplicate of bug 226477 ***