Remarks

Scope is the context in which variables live and can be accessed by other code in the same scope. Because JavaScript can largely be used as a functional programming language, knowing the scope of variables and functions is important as it helps to prevent bugs and unexpected behavior at runtime.

Closures

Hoisting

Difference between var and let

Apply and Call syntax and invocation.

Bound invocation

Arrow function invocation

Method invocation

Anonymous invocation

Constructor invocation

Using let in loops instead of var click handlers example