Hello fellow tech mates, am so happy to be writing this short article on the "this" keyword.
In an object method, this refers to the "owner" of the method, and who is the owner of the fullName method (it's the Person object). In the example above, this refers to the Person object.
Thank you so much if you took out your time to read this, would still be writing more articles so sit back and relax
Young dude who loves coding and i'm having a thing for writing about my journey in tech. So just sit back and relax.
Dumto, Nice Start. I think you have mentioned the catch line very well:
The "this " keyword is a context object and it represents the context in which the entire code is executed.
You can easily extend this post or write future series on
this with more examples and it's confusing characters.