The boolean value of "0" is
true
if "0" is a string, but
false
if "0" is a number.