相关疑难解决方法(0)

我应该在局部变量中引用'this'吗?

我经常在代码中看到这个:var me = this;.这是为什么?如果我在局部变量中引用'this',是否会有一些性能提升?

javascript performance this

4
推荐指数
1
解决办法
128
查看次数

标签 统计

javascript ×1

performance ×1

this ×1