04 2021 档案

面试题——JS实例化过程总结(附原型链图解)
摘要:没有返回值的构造函数形式 function Person(name,age){ this.name = name; this.age = age; this.show = function(){ console.log('每个人的身上都有毛毛'); } } var person = new Pers 阅读全文

posted @ 2021-04-07 18:58 大毛猫熊 阅读(420) 评论(0) 推荐(0)