摘要: 如果没有传参,那么this默认指向的window let a = { value: 1 } function parent(sex, weight) { this.name = '1' this.age = 12 this.sex = sex ? sex : null this.weight = w 阅读全文
posted @ 2021-01-20 17:32 陈小作 阅读(266) 评论(0) 推荐(0) 编辑