深刻理解js中的bind

/** * bind 函數在js中的應用 */ this.name = "test"; let testObj = { name:'zhangsan', introduce:function(){ return this.name; } } let test = { name:"lisi" } let test1 = { name:"wangwu" } let fn = testOb
相關文章
相關標籤/搜索