Great post! I liked your approach. It’s quite similar to the one I took in an article a wrote a few months ago about “this” a few months ago, here’s the link in case you want to take a look:
My main focus in this article is explaining the “this” binding based on “where” and “how” a function is invoke, and how answering these two questions will lead us to the binding of “this” to a specific object. Understanding this gives us the ability to take advantage of this feature in our programs. It’s really cool 🙂
BTW, I wrote the article after reading the YDKJS book by Kyle Simpson too, “this & Object Prototypes”
I'm a Software Engineer, who loves to devote all the time I can get, to assisting and guiding other learners with all the resources and knowledge I can afford.
Went through your article as well, it's a shame that genuinely well-done articles like those don't get much recognition! The popular articles all seem to be about some shallow, common concept of a few lines, haha.
YDKJS is really amazing, isn't it? Wish more people would refer the series for their basics.
Great post! I liked your approach. It’s quite similar to the one I took in an article a wrote a few months ago about “this” a few months ago, here’s the link in case you want to take a look:
dev.to/diegolepore/what-s-the-bind...
My main focus in this article is explaining the “this” binding based on “where” and “how” a function is invoke, and how answering these two questions will lead us to the binding of “this” to a specific object. Understanding this gives us the ability to take advantage of this feature in our programs. It’s really cool 🙂
BTW, I wrote the article after reading the YDKJS book by Kyle Simpson too, “this & Object Prototypes”
Cheers! 👋😃
Thanks a lot, Diego. ☺️
Went through your article as well, it's a shame that genuinely well-done articles like those don't get much recognition! The popular articles all seem to be about some shallow, common concept of a few lines, haha.
YDKJS is really amazing, isn't it? Wish more people would refer the series for their basics.
Take care.
Absolutely! Thank you Animesh!
Yeah, you're right! It is what it is hehe
And yes! YDKJS is just great! A very clear and detailed guide.
Keep up the good work and take care too! 👋