摘要:
//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 阅读全文