function extend(obj){
var newobj={};
for(var i in obj){
newobj[i]=obj[i];
if(typeof newObj[i]=="object"){0
newObj[i]=extend(obj[i]);
}
}
return newObj;
}
js extend
最新推荐文章于 2024-07-05 14:31:43 发布
function extend(obj){
var newobj={};
for(var i in obj){
newobj[i]=obj[i];
if(typeof newObj[i]=="object"){0
newObj[i]=extend(obj[i]);
}
}
return newObj;
}