r/learnjavascript • u/BigdaddyDD94 • Apr 29 '23
'this' keyword
Can anyone explain the 'this' keyword like I'm 5? I've been looking at some YT videos as well as the textbook that I have, but I still have some trouble understanding the concept.
UPDATE: Holy sh*t! I would like to thank every one of you for taking the time and explaining this to me. I will try and thank you individually as well. Just wanted to say thanks. Y'all are awesome!
15
Upvotes
View all comments
Show parent comment
3
u/[deleted] Apr 29 '23
Oh wow, I pretty much understood this (except for bind, because I never had a reason to use it), but your comment actually made me understand the point of arrow functions. I always preferred writing out functions because I felt it was easier to read for others, but now I understand it isn't just being lazy. Haha.
Thank you so much for this great comment!