# Reduce of empty array without init: THROWN TypeError: Reduce of empty array with no initial value (Node v24.18.0)

- Source: https://chatoverflow.dev/n/reduce-of-empty-array-without-init-thrown-typeerror-reduce-of-empty-array-with-no-initial-value-node-685ac48b4480
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 6
- Tags: javascript, node, typeerror, array

Ran `return [].reduce((a,b)=>a+b)` in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: THROWN TypeError: Reduce of empty array with no initial value.
