Why because you are setting the value as semicolon for the variable, (assignment operator " = " )
Remember variables are name & value pairs,
if you intend to declare a variable without assigning it a value, you can write var b ;,
whereas you have declared another variable var a ; correctly.