3 lines
77 B
JavaScript
3 lines
77 B
JavaScript
function structuredClone(val) {
|
|
return JSON.parse(JSON.stringify(val));
|
|
} |