oxc/tasks/coverage/misc/fail/oxc.js
Boshen 603817bef9 feat(oxc)!: add SourceType::Unambiguous; parse .js as unambiguous (#5557)
See https://babel.dev/docs/options#misc-options for background on `unambiguous`

Once `SourceType::Unambiguous` is parsed, it will correctly set the returned `Program::source_type` to either `module` or `script`.
2024-09-07 10:48:58 +00:00

4 lines
40 B
JavaScript

'use strict';
let.a = 1;
let()[a] = 1;