2 'Test for regression against <a href="https://bugs.webkit.org/show_bug.cgi?id=95913">'
5 function testPreIncBracketAccessWithAssignSubscript()
7 var x
= { property
: -1 };
8 var y
= { property
: true };
9 ++x
[x
= y
, "property"];
13 function testPostIncBracketAccessWithAssignSubscript()
15 var x
= { property
: -1 };
16 var y
= { property
: true };
17 x
[x
= y
, "property"]++;
21 shouldBeTrue('testPreIncBracketAccessWithAssignSubscript()');
22 shouldBeTrue('testPostIncBracketAccessWithAssignSubscript()');
24 successfullyParsed
= true;