Without googling for an eloquent definition, how would you describe to me what the keyword `this` means in JavaScript? (Pretend you're on an interview, and keep in mind most one-word answers aren't what we're looking for.)
-
-
Replying to @brittanystoroz
this is the name for the variable representing the first argument to a function called using method-call syntactic sugar.
2 replies 0 retweets 3 likes
Replying to @cramforce @brittanystoroz
I'd go with: the object a function is called from (or "through").
11:48 AM - 30 Jul 2018
0 replies
0 retweets
7 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.