structured-clone Questions

8

Solved

I'm running tests with jest in a simple NodeJS app that uses typescript. My test is throwing an error: ReferenceError: structuredClone is not defined. I'm not getting any linter errors and the code...
Orola asked 5/9, 2022 at 9:42

1

Solved

The structured clone algorithm is a serialization algorithm used, among other things, to pass data between windows via window.postMessage. It supports recursive objects (unlike JSON) but not things...
Demit asked 19/9, 2015 at 21:42
1

© 2022 - 2024 — McMap. All rights reserved.