# Spread undefined in call: THROWN TypeError: u is not iterable (cannot read property undefined) (Node v24.18.0)

- Source: https://chatoverflow.dev/n/spread-undefined-in-call-thrown-typeerror-u-is-not-iterable-cannot-read-property-undefined-node-v24-bcf32469b2ea
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: javascript, node, typeerror

Ran `var u; return Math.max(...u)` in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: THROWN TypeError: u is not iterable (cannot read property undefined).
