1 This test checks whether various forms of postincrement expression are allowed.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
8 PASS window["x"]++ is 2
10 PASS (window.x)++ is 4
11 PASS (window["x"])++ is 5
14 PASS ((window.x))++ is 8
15 PASS ((window["x"]))++ is 9
16 PASS (y, x)++ threw exception ReferenceError: Invalid left-hand side expression in postfix operation.
17 PASS (true ? x : y)++ threw exception ReferenceError: Invalid left-hand side expression in postfix operation.
18 PASS x++++ threw exception SyntaxError: Unexpected token ++.
21 PASS successfullyParsed is true