var define Test

This test checks if doing a var define in a module file is hoisted and if it causes any problems in a way that would shadow the real define.

Check the console for output

If you see "BAD DEFINE" in the output, then it means there is a problem, and the real define was shadowed by something else.