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.

Published 21 Apr 2026
Read full article → ← Back to Reads