摘要: //Javascript语言精粹 全书脚本Demo,可以用Firefox 的firebug运行每个demodemo url:http://files.cnblogs.com/vihone/TheExcellenceInJavascript.rar//3.5 原型 if(typeof Object.beget !== 'function') { Object.beget = function(o) { var F = function() {}; F.prototype = o; return new F(); }; }var another_stooge = Object.be 阅读全文
posted @ 2013-01-24 21:33 Vihone 阅读(318) 评论(0) 推荐(0) 编辑