Files
oxc-project__oxc/tasks/coverage/misc/fail/let-member-expression.js
overlookmotel 75f9800166 test(parser): combine test cases for let as identifier (#16861)
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.
2025-12-14 21:30:55 +00:00

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();