New course! Every coder should learn Generative AI!
Try a free lesson+ 12
The this keyword is a reference to that particular instance of the wish class.
You can see here for detailed explanation.
https://stackoverflow.com/questions/13180506/passing-in-this-keyword