DEV Community

loading...

Discussion on: 9 tiny tips to make your JavaScript code run faster

Collapse
freakomonk profile image
freakomonk

Isn't JSON.parse(JSON.stringify(obj)) slow ?

Collapse
devcer profile image
Santosh Viswanatham Author

Yes. it is slow If in case of one level. But It is the fastest approach if you have multiple levels of Nested JSON Object.