4 ms·
I think it's true for both -- they mention this both under the "Deep copies" section where it's talking about JSON.parse(JSON.stringify()), and also under "Stru
by electroly 5y ago
I think it's true for both -- they mention this both under the "Deep copies" section where it's talking about JSON.parse(JSON.stringify()), and also under "Structured cloning" > "Features and limitations" where it's talking about the new function. The line GP quoted is from the section where it's talking about structured cloning.