function Temp(){}; Temp.prototype=Person.prototype; var stuProto=new Temp; Student.prototype=stuProto; stuProto.constructor=Student;
本文标题:JS继承
本文链接:https://www.haomeiwen.com/subject/wvahwctx.html
网友评论