$ 0 0 代码如下: function Student(name){ this.name = name; } Student.sayHi = function(){ //将sayHi方法直接捆绑在Student上 console.log("Hi , I am "+this.name); } var stu = new Student(); stu.sayHi();在浏览器中执行上述代码会报错,这是为什么?