Disclaimer: Of course there are always many ways to solve a problem, so the answers listed make no claim of authority, or even of "best approach." You are welcome to email sstchur(at)yahoo(dot)com if you'd like to see an alternate answer listed. What is the result of the following? function foo() { alert(x); var x = 10; } foo(); Runtime error Will alert undefined WIll alert 10 Answer B. Why? It is