摘要: function inherit(p){ if(p==null){ throw TypeError(); } if(Object.create){ return Object.create(p); } var t=typeof p; if(t!=='object'&&t!==... 阅读全文
posted @ 2014-11-07 18:00 灵瞳 阅读(1166) 评论(0) 推荐(0) 编辑