2 "This test checks whether various forms of preincrement expression are allowed."
9 shouldBe('++window.x', '2');
10 shouldBe('++window["x"]', '3');
11 shouldBe('++(x)', '4');
12 shouldBe('++(window.x)', '5');
13 shouldBe('++(window["x"])', '6');
14 shouldBe('(y, ++x)', '7');
15 shouldBe('++((x))', '8');
16 shouldBe('++((window.x))', '9');
17 shouldBe('++((window["x"]))', '10');
19 shouldThrow('++(y, x)');
20 shouldThrow('++(true ? x : y)');