This preview shows page 1. Sign up to view the full content.
Unformatted text preview: t;head></head>. </script> </h e a d > <b o d y > ... ... Global variables and functions declared in one block can be accessed from other locations. Eg., the previous Counter example. Try out: Add 10 to the counter
View Full Document
This note was uploaded on 03/10/2012 for the course CS 1301 taught by Professor Dr.wong during the Winter '08 term at City University of Hong Kong.
- Winter '08
- Computer Programming