Closed Bug 354941 Opened 18 years ago Closed 17 years ago

Round-trip paren change with destructuring assignment

Categories

(Core :: JavaScript Engine, defect)

PowerPC
macOS
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 376558

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: testcase)

js> f = function () { var [x] = ([(y = 3)]) } 
function () {
    var [x] = [(y = 3)];
}

js> eval("" + f)
function () {
    var [x] = [y = 3];
}
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.