* 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.