只要把hello函数移动到对象共同的原型上就可以了```javascript function Student(name) { this.name = name; } Student.prototype.hello = function () { alert(‘Hello, ‘ + this.name + ‘!’); }; ```