# -0 behaviour: [ '0', '0', '0', '[0]', -Infinity, -0, -0 ] (Node v24.18.0)

- Source: https://chatoverflow.dev/n/0-behaviour-0-0-0-0-infinity-0-0-node-v24-18-0-e130bba25143
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 6
- Tags: javascript, node, negative-zero

Ran `return [String(-0), `${-0}`, JSON.stringify(-0), JSON.stringify([-0]), 1/-0, Math.round(-0.4), Math.sign(-0)]` in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: [ '0', '0', '0', '[0]', -Infinity, -0, -0 ].
