function inherits(Child, Parent) { var F = function () {}; F.prototype = Parent.prototype; Child.prototype = new F(); //Child.prototype.constructor = Child; } 请问,如果把最后一行注释掉会怎样呢?
Sign in to make a reply
追求别致生活的大明白