modifier-semicolon-insertion.js (496B)
1 Reflect.parse(` 2 let a 3 f2() 4 `); 5 Reflect.parse(` 6 let a=1 7 f2() 8 `); 9 Reflect.parse(` 10 import 'a' 11 f2() 12 `, {target: "module"}); 13 Reflect.parse(` 14 export { a } from 'a' 15 f2() 16 `, {target: "module"}); 17 Reflect.parse(` 18 var a 19 f2() 20 `); 21 Reflect.parse(` 22 var a=1 23 f2() 24 `); 25 Reflect.parse(` 26 f1() 27 f2() 28 `); 29 Reflect.parse(` 30 while(false) { continue 31 f2() } 32 `); 33 Reflect.parse(` 34 while(false) { break 35 f2() } 36 `); 37 Reflect.parse(` 38 function a() { return 39 f2() } 40 `); 41 Reflect.parse(` 42 throw 1 43 f2() 44 `); 45 Reflect.parse(` 46 debugger 47 f2() 48 `);