Bug 237640 - Support for( var value of array ) {...} loop
Support for( var value of array ) {...} loop
Status: RESOLVED FIXED
Product: javascript
Classification: Unclassified
Component: Editor
7.4
PC Linux
: P3 with 3 votes (vote)
: 8.2
Assigned To: Petr Hejl
issues@javascript
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


Attachments

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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo