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 237640 - Support for( var value of array ) {...} loop
Summary: Support for( var value of array ) {...} loop
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal with 3 votes (vote)
Assignee: Petr Hejl
Depends on:
Reported: 2013-10-25 02:23 UTC by peterkehl
Modified: 2016-08-16 14:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description peterkehl 2013-10-25 02:23:26 UTC
This is a cleaner way of iterating over arrays (where the block doesn't need the index). It works in Firefox and it does/will work in other modern browsers.

Currently, that breaks NetBeans parser of a .js file, so highlighting, navigation & blocks collapse/expand doesn't work *for the whole file*. Highly unpleasant.
Comment 1 Petr Hejl 2016-08-16 14:20:54 UTC
Supported in dev build.