Q101-Q105

Mock Interview

Lexical Model

Explain lexical environments and use them to reason about nested functions.

Closure Debugging

A loop of callbacks logs unexpected values. Explain why and fix it.

Invocation

Compare normal functions, arrow functions, bind, call, apply, and method invocation.