read-modify-eval-expected.txt 732 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Tests whether eval() works inside statements that read and modify a value.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS multTest(); is true
PASS divTest(); is true
PASS addTest(); is true
PASS subTest(); is true
PASS lshiftTest(); is true
PASS rshiftTest(); is true
PASS urshiftTest(); is true
PASS andTest(); is true
PASS xorTest(); is true
PASS orTest(); is true
PASS modTest(); is true
PASS preIncTest(); is true
PASS preDecTest(); is true
PASS postIncTest(); is true
PASS postDecTest(); is true
21
PASS primitiveThisTest.call(1); is true
22
PASS strictThisTest.call(1); threw exception TypeError: Attempted to assign to readonly property..
23 24 25 26
PASS successfullyParsed is true

TEST COMPLETE