4 ms·
For real.
by earthboundkid 4y ago
For real.
- nishs 4y agoThe Chrome dev rel blog post [1] describes limitations of structuredClone: * Prototypes: structuredClone discards the object’s prototype chain. * Functions: structuredClone quietly discards functions. * Non-cloneables: structuredClone throws for some common values, e.g. Node, Error. [1] https://web.dev/structured-clone/ https://web.dev/structured-clone/