深刻理解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
相关文章
相关标签/搜索