Closures

5/5

Access variables defined in the current function's scope and the scope of any parent function or the global scope.


⭐ Bonus ⭐

Bonus questions are deliberately tricky


Which snippets output the following to the console?

3
3
3

Pay close attention to usage of const, let, and var.

Multiple Choice