mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
75f9800166
Follow-on after #16840 and #16857. We had a few test cases relating to the same thing, and one of them called the undescriptive `oxc.js`. Combine them, and rename the test case files with a more accurate name.
13 lines
190 B
JavaScript
13 lines
190 B
JavaScript
// Test that `let` cannot be used as identifier in member expression or call expression in module
|
|
'use strict';
|
|
|
|
let.x;
|
|
|
|
let.x = 1;
|
|
let()[x] = 1;
|
|
|
|
let?.x;
|
|
let?.y.z;
|
|
let?.[0];
|
|
let?.method();
|