Learn Create Your Own Split Screen

Next Page

There's a few combinations to think about.

What if we create a var called thing within the local scope of the function, then try to access it outside the function?

do_something_else(); function do_something_else () { var thing = 100; alert("do_something_else's thing=" + thing); } alert("global thing=" + thing);
What would you expect to be displayed ?