Variables don't have to be declared before being used
|
|
When the JavaScript sees a declared identifier (var varName), it creates a global variable. |
var sTest = "hello "; sTest2 = sTest + "world"; alert(sTest2);
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
|