
Stop reaching for JSON.parse(JSON.stringify()) — structuredClone is right there
JSON.parse(JSON.stringify(x)) silently drops Dates, Maps and undefined. structuredClone keeps them, ships everywhere, and costs nothing extra.
Opinions are cheap in this industry, so ours come with sources. Everything below leans on public data — the HTTP Archive’s Web Almanac, Stack Overflow’s Developer Survey, GitHub’s Octoverse — and every number is linked to where it came from.

JSON.parse(JSON.stringify(x)) silently drops Dates, Maps and undefined. structuredClone keeps them, ships everywhere, and costs nothing extra.