declaring global variable and accessing global variable

Declaring and Accessing

function m(){
window.value=100;//declaring global variable by window object
function n(){
alert(window.value);//accessing global variable from other function


Popular posts from this blog

Set the variables to different values and different operators and then try...

auto redirected page in java script