3 ms·
If you think of javascript code like an english sentence, then the function is the verb, the context (this) is the subject and the scope (arguments, closed over
by Joeri 9y ago
If you think of javascript code like an english sentence, then the function is the verb, the context (this) is the subject and the scope (arguments, closed over variables) are the nouns.
- rippeltippel 9y agos/nouns/objects/g (then the analogy works for me)