function objectClone(obj,preventName){
if((typeof obj)=='object'){
var res=(!obj.sort)?{}:[];
for(var i in obj){
if(i!=preventName)
res[i]=objectClone(obj[i],preventName);
}
res 반환;
}else if((typeof obj)=='function'){
return (new obj()).constructor;
}
obj를 반환합니다.
}