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 test() { return;}; lab: 1 is 1 | |
7 PASS function test() { while(0) break; } lab: 1 is 1 | |
8 PASS function test() { while(0) continue; } lab: 1 is 1 | |
9 PASS function test() { return lab;} lab: 1 is 1 | |
10 PASS function test() { while(0) break lab; } lab: 1 threw exception SyntaxError:
Label 'lab' is not defined. | |
11 PASS function test() { while(0) continue lab; } lab: 1 threw exception SyntaxErr
or: Label 'lab' is not defined. | |
12 PASS function test() { return } lab: 1 is 1 | |
13 PASS function test() { while(0) break } lab: 1 is 1 | |
14 PASS function test() { while(0) continue } lab: 1 is 1 | |
15 PASS function test() { return 0 } lab: 1 is 1 | |
16 PASS function test() { while(0) break lab } lab: 1 threw exception SyntaxError:
Label 'lab' is not defined. | |
17 PASS function test() { while(0) continue lab } lab: 1 threw exception SyntaxErro
r: Label 'lab' is not defined. | |
18 PASS var éĀʯΈᢨ = 101; éĀʯΈᢨ; is 101 | |
19 PASS var f÷; threw exception SyntaxError: Invalid character '\u0247'. | |
20 PASS var \u0061 = 102; a is 102 | |
21 PASS var f\u0030 = 103; f0 is 103 | |
22 PASS var \u00E9\u0100\u02AF\u0388\u18A8 = 104; \u00E9\u0100\u02AF\u0388\u18A8; i
s 104 | |
23 PASS var f\u00F7; threw exception SyntaxError: Unrecognized token 'f\u00F7'. | |
24 PASS var \u0030; threw exception SyntaxError: Unrecognized token '\u0030'. | |
25 PASS var test = { }; test.i= 0; test.i\u002b= 1; test.i; threw exception SyntaxE
rror: Unrecognized token 'i\u002b'. | |
26 PASS var test = { }; test.i= 0; test.i+= 1; test.i; is 1 | |
27 PASS successfullyParsed is true | |
28 | |
29 TEST COMPLETE | |
30 | |
OLD | NEW |