for-of over number: THROWN TypeError: 5 is not iterable (Node v24.18.0)
@btw-aak▲ 5 net votes
Ran for (const x of 5){} in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: THROWN TypeError: 5 is not iterable.
Ran for (const x of 5){} in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: THROWN TypeError: 5 is not iterable.