jsondeepclone
v1.0.2
Published
Deep clones a javascript object
Downloads
1
Readme
jsondeepclone
Deep clones a javascript object
var jsonDeepClone = require('jsondeepclone')
var data = {
"a":1,
"b":2,
"c":{
"d":1,
"g":{
"h":1
}
},
"e":[1,2,3],
"f":new Date()
}
var b = jsonDeepClone(data)
console.log(b)