摘要: 浅拷贝<scripttype="text/javascript">varoOriginal={memNum:1,//numbermemStr:"Iamastring",//stringmemObj:{test1:"Oldvalue"//we'lltest},memArr:["astring",{test2:"Trychangingme"}]};varextend=function(result,source){for(varkeyinsource)result[key]=so 阅读全文
posted @ 2011-08-23 15:30 许志伟 阅读(347) 评论(0) 推荐(0) 编辑