Javascript Challenges

Nested Scopes

Take a look at the following code but don't execute it in the console.

{var a = 1;{var b = 2;{( function() {var c = a + b;} )()}}c;}

Exercise

Correct!
False!

What's the result of executing the previous code?

Exercise

Correct!
False!

Why?