mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-28 02:43:08 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
225 B
225 B
in a method
When a function is called as a method of an object, this refers to the object before the dot. For example, in user.greet(), this inside greet refers to user. This is the most intuitive use of this.