Compare deep cloning methods.
const obj = { a: 1, b: { c: 2, d: [3, 4] }, e: 'string' };Initializing...
| Test Case | Ops/sec | |
|---|---|---|
| JSON stringify/parse | | ready |
| structuredClone | | ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.