📜  在 js 中使用 this 关键字 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:09.595000             🧑  作者: Mango

代码示例1
The JavaScript this keyword refers to the object it belongs to. 
It has different values depending on where it is used: In a method, 
this refers to the owner object. Alone, this refers to the global 
object.