Medium

Understanding JavaScript Closure: How Variable Scope Works in Nested Functions

What will be logged to the console and why?

Choose an option below