Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript deep clone

var cloned = JSON.parse(JSON.stringify(objectToClone));
 
PREVIOUS NEXT
Tagged: #javascript #deep #clone
ADD COMMENT
Topic
Name
5+1 =