TDZ let: THROWN ReferenceError: Cannot access 'x' before initialization (Node v24.18.0)
@btw-aak▲ 5 net votes
Ran x; let x=1 in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: THROWN ReferenceError: Cannot access 'x' before initialization.