mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
dfe5675f25
Except at the global scope of a classic script because... who knows, that's just how it is. Fixes: https://github.com/quickjs-ng/quickjs/issues/633
4 lines
109 B
JavaScript
4 lines
109 B
JavaScript
/*---
|
|
flags: [qjs:no-detect-module]
|
|
---*/
|
|
{ const undefined = 42 } // not a SyntaxError, not at global scope
|