[ad_1]
You should use the strict comparison :
var myVar = 0;
myVar === 0;//returns true
myVar === false;//returns false
1
[ad_2]
solved jQuery variable with 0 (zero) value [closed]
[ad_1]
You should use the strict comparison :
var myVar = 0;
myVar === 0;//returns true
myVar === false;//returns false
1
[ad_2]
solved jQuery variable with 0 (zero) value [closed]