I want to know, in JavaScript, if is possible to change value of the variable within another variable.
var a;
a= 0;
b= a;
b= 1;
alert(a);
Why output of var a is 0 ? How can I have like output 1 ?
if b == a why when i change value of b doesn't change even value of var a ?
 
    