Update 101-this-in-a-method.md (#2035)
* Update 101-this-in-a-method.md * Update content/roadmaps/106-javascript/content/111-javascript-this-keyword/101-this-in-a-method.md Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>pull/2110/head
parent
2f3eccdedb
commit
9491682fcc
1 changed files with 7 additions and 1 deletions
@ -1 +1,7 @@ |
|||||||
# This in a method |
# this in a method |
||||||
|
|
||||||
|
Methods are properties of an object which are functions. The value of this inside a method is equal to the calling object. In simple words, this value is the object “before dot”, the one used to call the method. |
||||||
|
|
||||||
|
<ResourceGroupTitle>Free Content</ResourceGroupTitle> |
||||||
|
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://javascript.info/object-methods#this-in-methods'>`this` in methods</BadgeLink> |
||||||
|
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.w3schools.com/js/js_this.asp'>Short and clear post about the `this` keyword</BadgeLink> |
||||||
|
Loading…
Reference in new issue