DEV Community

Discussion on: Deep Copy in Node JS without using any external packages

Collapse
dylanwatsonsoftware profile image
Dylan Watson

So.... Why not just use JSON.parse(JSON.stringify(obj)) then?

Collapse
0shuvo0 profile image
Shuvo Author

Their working are different