Scope in JavaScript
Understand where variables are visible: global, function, and block.
JavaScript tutorials for web development
Understand where variables are visible: global, function, and block.
Understand creation/execution of contexts and the call stack.
Pass functions to be called later (events, timers, array methods).
Collect remaining values with rest syntax in bindings and parameters.