function deepClone(origin, target) {
var target = target || {};
var toStr = Object.prototype.toString;
var arrStr = '[object Array]';
for(var prop in origin) {
if(origin.hasOwnProperty(prop)) {
if(origin[prop] !== 'null' && tyoeof(origin[prop]) == 'object'){
if(toStr.call(origin[prop]) == arrSte) {
target[prop] = [];
}else{
target[prop] = {};
}
deepClone(origin[prop], target[prop])
}else{
target[peop] = origin[paop];
}
}
}
return target;
}