| OLD | NEW |
| (Empty) |
| 1 PASS function f() { g()++; } f.toString() is 'function f() { g()++; }' | |
| 2 PASS function f() { g()--; } f.toString() is 'function f() { g()--; }' | |
| 3 PASS function f() { ++g(); } f.toString() is 'function f() { ++g(); }' | |
| 4 PASS function f() { --g(); } f.toString() is 'function f() { --g(); }' | |
| 5 PASS function f() { g() = 1; } f.toString() is 'function f() { g() = 1; }' | |
| 6 PASS function f() { g() += 1; } f.toString() is 'function f() { g() += 1; }' | |
| 7 PASS g()++ threw exception ReferenceError: Postfix ++ operator applied to value
that is not a reference.. | |
| 8 PASS g()-- threw exception ReferenceError: Postfix -- operator applied to value
that is not a reference.. | |
| 9 PASS ++g() threw exception ReferenceError: Prefix ++ operator applied to value t
hat is not a reference.. | |
| 10 PASS --g() threw exception ReferenceError: Prefix -- operator applied to value t
hat is not a reference.. | |
| 11 PASS g() = 1 threw exception ReferenceError: Left side of assignment is not a re
ference.. | |
| 12 PASS g() += 1 threw exception ReferenceError: Left side of assignment is not a r
eference.. | |
| 13 PASS successfullyParsed is true | |
| 14 | |
| 15 TEST COMPLETE | |
| 16 | |
| OLD | NEW |