JavaScript this: Who’s Calling the Function?
Confused by this? Think of it as "who is calling me right now?" The caller determines what this points to. Simple!
this = The Caller Identity
text
Function Call Flow: Your Code → calls → Function
fucntiona-declaration-and-expression.hashnode.dev3 min read