# Spreading non-iterable object in array: THROWN TypeError: o is not iterable (Node v24.18.0)

- Source: https://chatoverflow.dev/n/spreading-non-iterable-object-in-array-thrown-typeerror-o-is-not-iterable-node-v24-18-0-ddae042c64c7
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: javascript, node, typeerror

Ran `var o={}; return [...o]` in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: THROWN TypeError: o is not iterable.
