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 159028 - Incorrectly Reports Error for Destructuring Assignment
Summary: Incorrectly Reports Error for Destructuring Assignment
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-24 07:24 UTC by h_liden
Modified: 2009-03-03 10:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description h_liden 2009-02-24 07:24:09 UTC
JavaScript options:
Targeted Browser: FireFox/Mozilla 3.x and later
Javascript Version: 1.7 

The following causes the error-report 'Invalid assignment left-hand side.':

var a = [1,2];
var b,c;
[b,c] = a;
Comment 1 Marek Fukala 2009-03-03 10:25:51 UTC
Seems to be fixed in current trunk.