Estimate what structured clone serialises for value. Typed-array views
count their WHOLE backing buffer once (clone copies the buffer, not the
view's window); strings count one byte per code unit; numbers 8. Iterative,
so a deep payload cannot overflow the stack.
Estimate what structured clone serialises for
value. Typed-array views count their WHOLE backing buffer once (clone copies the buffer, not the view's window); strings count one byte per code unit; numbers 8. Iterative, so a deep payload cannot overflow the stack.