JS中的this指针在普通函数跟箭头函数中的表现 2024 年 2 月 18 日 发布在 React Native JS中this指针的表现指的是this指针所引用的对象,在不同的上下文环境以及不同类型的函数中会有不同的表现,有些甚至是不可预测的,本文的目的是介绍this指针在众多变量中的确切规律表现,从而让我们更能掌控RN项目中的JS代码 阅读全文