This page demonstrates variable scope. It is meant to be viewed in debug mode. Watch to see when globalVar and localVar are defined.