Start
This is a demonstration of the use of a global variable.
The global variable count has been initialized to 0.
The message below is generated by JavaScript.
It displays the value of the global variable count.
Next Scene
Clicking the button below will switch to a new scene
in which the count variable will be incremented.
Previous Scene
When this scene loads, the variable count is incremented.
Go back to the previous scene to see its updated value.