DEV Community

Discussion on: Copying objects in JavaScript

 
ip127001 profile image
Rohit Kumawat

Great! make your own common function to handle all cases.

Enjoy!