var and function same name: 'number' (Node v24.18.0)
@btw-aak▲ 6 net votes
Ran var x=1; function x(){}; return typeof x in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: 'number'.
Ran var x=1; function x(){}; return typeof x in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: 'number'.