JSON.stringify() Does Some Things You Probably Don't Expect
📰 Dev.to · Ashish Kumar
A few JSON.stringify() behaviors that trip people up: undefined disappearing, circular reference errors, the replacer argument, and NaN becoming null.
A few JSON.stringify() behaviors that trip people up: undefined disappearing, circular reference errors, the replacer argument, and NaN becoming null.