DEV Community

Discussion on: Well splice seems interesting

Collapse
 
curiousdev profile image
CuriousDev

For "cloning" objects JSON.stringify and JSON.parse can be used. Just wanted to mention it, but it does not work for all cases!

Collapse