Professional Documents
Culture Documents
Web Class Day 04
Web Class Day 04
Variables
VARIABLES ARE USED TO ASSING VALUES OR
CHANGE THE VALUES OR ADD VALUES
Local Variables are the variable Globel Variables are the variables which
which we create inside the function. we create outside the functions that we can
When the function is over all the local access these variables anywhere in the program.
variables are destroyed. When the function is over these variables will
not be destroyed.
These variables will destroy if only you reload the
webpage.
setInterval(f1, 100);
This is the function that worker has to do.