2 ms·
Right, why write '{ "foo": "bar" }' when you could write JSON.stringify({ foo: "bar" }) and get a static guarantee of valid JSON?
by adrusi 11y ago
Right, why write
'{ "foo": "bar" }'
when you could write
JSON.stringify({ foo: "bar" })
and get a static guarantee of valid JSON?