how to use the this keyword in javascript code example
Example: use of this keyword in js
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.