22

[译] JavaScript中的“this”是什么?

 5 years ago
source link: https://juejin.im/post/5b6676e6f265da0fa00a3a12
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
原文:What is “this” in JavaScript? 如果你曾使用JavaScript库做过开发,那么你可能已经注意到一个名为 this的特定关键字。虽然 this在JavaScript中非常常见,但是完全理解this关键字的原理以及在代码中如何

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK