Get a free weekly practice problem!

Keep that axe sharp.

× No thanks

Just No more free questions left!

Upgrade Now

If we execute this Javascript, what will the browser's console show?

var text = 'outside'; function logIt(){ console.log(text); var text = 'inside'; }; logIt();

It's not "outside".

It's not "inside".

The script won't throw an error!

You must log in with one click to view the rest.

Once you're logged in, you'll get free full access to this and 4 other questions.

You must log in with one click to view the rest.

Once you're logged in, you'll get free full access to this and 4 other questions.

What's next?

Powered by qualified.io

. . .