Closed Bug 498934 Opened 15 years ago Closed 14 years ago

Inconsistent parenthesization of "yield" in group assignment

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: testcase)

js> f = (function() { ([] = [yield 3]) }) 
function () {
    [] = [(yield 3)];
}

js> eval(uneval(f))
function () {
    [] = [yield 3];
}
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.