| OLD | NEW |
| (Empty) |
| 1 KDE JS Test | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 PASS function () { a = x; } threw exception ReferenceError: Can't find variable:
x. | |
| 7 PASS function () { x += "foo"; } threw exception ReferenceError: Can't find vari
able: x. | |
| 8 PASS function () { b = a.x; } did not throw an exception | |
| 9 PASS function () { b = a['x']; } did not throw an exception | |
| 10 PASS function () { a['x'] += 'baz'; } did not throw an exception | |
| 11 PASS a['x'] is "undefinedbaz" | |
| 12 PASS function () { b = a.y; } did not throw an exception | |
| 13 PASS function () { a.y += 'glarch'; } did not throw an exception | |
| 14 PASS a['y'] is "undefinedglarch" | |
| 15 PASS successfullyParsed is true | |
| 16 | |
| 17 TEST COMPLETE | |
| 18 | |
| OLD | NEW |