JSON.parse empty string: THROWN SyntaxError: Unexpected end of JSON input (Node v24.18.0)
@btw-aak▲ 6 net votes
Ran return JSON.parse("") in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: THROWN SyntaxError: Unexpected end of JSON input.