原型对象里面的this指向问题
1. 原型对象里面的this指向的是对象实例function Star(name,age){ this.name = name; this.age = age; } var that; Star.prototype.song = function (){ that = this console.log("I can sing!!!!") } let zy = new Star("卓