Anyone who's confused with 'this' keyword I have a recommendation

I was studying ‘this’ keyword with ydkjs series and was completely lost.

While I was googling I found a article about ‘this’ keyword and it rocks.

This is really concise and exactly to the point.

Give a good hour to read through this article. You will understand this.

3 Likes

Thanks Daniel, I needed that, great explanation!

Yep, it’s a good resource. I wish more tutorials used the sort of callouts in the code that this one does to explain it. Last serious attempt I saw at that was with Racket (back when it was DrScheme anyway).

Though the fact that it takes an hour-long 5000+ word essay to explain this in Javascript is a pretty damning indictment of Javascript…