Could anybody please explain about the 'this' keyword? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Could anybody please explain about the 'this' keyword?

18th Oct 2015, 9:38 AM
Shiven Sinha
2 Answers
0
this refers to the object you are creating we are adding something to "this", add a method to "this" so when you make an instance of that object it's linked to. it
19th Dec 2015, 2:24 PM
Daniel Moereels
Daniel Moereels - avatar
0
this is refered to the current object
1st Mar 2016, 9:03 AM
Ionut Eusebiu Andrici
Ionut Eusebiu Andrici - avatar