The global variable is set to one when the page loads.
Click the 'Check the value' button to check it.
Enter a local variable in the text box.
Increment it and set it globally by clicking the button