懦弱金鱼

文章
8
资源
0
加入时间
3年0月27天

js高级第二期

一.原型链以及继承的使用以及优缺点先创建一个人的类型people: function people(name,age,work){ }再创建一个教师类teacher: function teacher(name,age,work){ this.name = name; this.age = age; this.work = work; this.like = function