题解 | #this指向#
this指向
https://www.nowcoder.com/practice/0b0770a09d9d49aeb4f3d5d4dd7f34f5
var obj = { a: 1, b: 2, fn: function(){ // 补全代码 return this.a+this.b; } }
this指向
https://www.nowcoder.com/practice/0b0770a09d9d49aeb4f3d5d4dd7f34f5
var obj = { a: 1, b: 2, fn: function(){ // 补全代码 return this.a+this.b; } }
相关推荐