8 lines
252 B
JavaScript
8 lines
252 B
JavaScript
|
//// [asiReturn.ts]
|
||
|
// This should be an error for using a return outside a function, but ASI should work properly
|
||
|
return
|
||
|
|
||
|
//// [asiReturn.js]
|
||
|
// This should be an error for using a return outside a function, but ASI should work properly
|
||
|
return;
|