首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
我的面向对象的探索
我的面向对象的探索
mac
2025-05-28
2
var sendRequest = function(data) { this.defaults = { a:123, b:456 } this.adds = function(){ var c=data console.log(this) //他们的this相同 this.crazy = function(){ console.log(this) } return c } console.log(this) //他们的this相同 this.adds() this.crazy() }
转载请注明原文地址: https://mac.8miu.com/read-503341.html
最新回复
(
0
)