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

Summary: Support for( var value of array ) {...} loop
Product: javascript Reporter: peterkehl <peterkehl>
Component: EditorAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: normal CC: dusty
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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.