+ 1
Javascript. Why do I get "false"
Hello! Сan somebody explain me why do I get "false"? var a, b = "sololearn"; document.write(a == b);
3 odpowiedzi
+ 17
Because 'a' has no value.
+ 10
var a, b;
a = b = "SoloLearn";
+ 2
yes, of course, thank you!
Hello! Сan somebody explain me why do I get "false"? var a, b = "sololearn"; document.write(a == b);