本帖最后由 yyangsy 于 2010-03-01 15:52:54 编辑

解决方案 »

  1.   

    俺测试时把构造参数改成了"hello",原参数为"confused"
    原书此段代码应为:
    var Quo = function (string)

        this.status = string;

    Quo.prototype.get_status = function()
    {
        return this.status;

    var myQuo = new Quo("confused");
    document.writeln(myQuo.get_status());//confused译者将注释“//confused”改成了“//令人困惑”,把兄弟们全整困惑啦~
    勘误表
    http://dancewithnet.com/javascript-the-good-parts-errata/