摘要: 例子1:this指向 var name = "小明", age = 17; var a = { name: "小花", getInfo: function() { console.log(this.name, this.age) } } a.getInfo(); //小花 undefined thi 阅读全文
posted @ 2021-07-01 20:43 梁涛999 阅读(46) 评论(0) 推荐(0) 编辑