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
Himanshu 2 years ago committed by GitHub
parent 2f3eccdedb
commit 9491682fcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      content/roadmaps/106-javascript/content/111-javascript-this-keyword/101-this-in-a-method.md

@ -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…
Cancel
Save