赛码网,一共十题,简答加上编程,一题十分。1.js实现深拷贝function deepCopy(oldObj,newObj){ for(var k in oldObj){ var item=oldObj[k]; if (item instanceof Array){ newObj[k]=[]; deepCopy(newObj[k],item); }else if(item instanceof Object){ newObj[k]={}; deepCopy(newObj[k],item); }else{ newObj[...