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