OLD | NEW |
| (Empty) |
1 Test to make sure we don't incorrectly insert a semi colon after a break stateme
nt | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS do { if(0) break | |
7 ;else true; } while (0) is true | |
8 PASS do { if(0) continue | |
9 ;else true; } while (0) is true | |
10 PASS (function(){if (0) return | |
11 ;else return true;})() is true | |
12 PASS do { if(0) throw 'x';else true; } while (0) is true | |
13 PASS if (0) throw | |
14 'Shouldn't have parsed this.'; threw exception SyntaxError: Unexpected string 'S
houldn'. | |
15 PASS successfullyParsed is true | |
16 | |
17 TEST COMPLETE | |
18 | |
OLD | NEW |