Loading

摘要: 方法中的 this 在对象中的方法中, this 指向调用它所在方法的对象。 var person = { firstName: "John", lastName : "Doe", id : 5566, fullName : function() { return this.firstName + 阅读全文
posted @ 2024-06-27 21:24 Duancf 阅读(28) 评论(0) 推荐(0)