is there a way to deep copy in javascript code example Example: how to make a deep copy in javascript JSON.parse(JSON.stringify(o))