标签:eof 拷贝 技术分享 bsp logs class turn [] ceo
function copy(o){ if(o instanceof Array){ var n = []; for(var i in o){ n[i] = copy(o[i]); } return n; } else if(o instanceof Object){ var n = {}; for(var j in o){ n[j] = copy(o[j]); } return n; } else{ return o; } }
标签:eof 拷贝 技术分享 bsp logs class turn [] ceo
原文地址:http://www.cnblogs.com/liuzhiyong/p/7196640.html