Performance·Intermediate·Conceptual·1 min read
What is structured cloning?
Short interview answer
It is the algorithm used to copy many JavaScript values between realms while preserving supported structure. Functions and DOM nodes are not cloneable. Large copies can be expensive, so protocol and payload design matter.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.