- 博客(2)
- 收藏
- 关注
转载 javascript 之 this(2)
this全面解析 调用位置:函数在代码中被调用的位置(而不是声明的位置) function baz(){ console.log('baz'); bar(); } function bar(){ console.log('bar'); foo(...
2017-11-02 22:24:00 59
转载 javascript 之 this(1)
why use this function identify(){ return this.name.toUpperCase(); } function speak(){ var greeting = "hello I'm " + identify.call(th...
2017-11-02 11:23:00 110
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人