complexity: 2 ; importance: 8; author: docentmail
Question: What would be result of execution of the snippet?
Tip: Pay attention that var is absent.
Answer: Alert with text value1
Statement theVar="value1"; (without var) creates variable in a global scope (of course if variable was not defined before).