Comment Comment by camblomquist edit: I'm mostly wrong here.Because "0" is false. In a logical world, a non-empty string being truthy is fine even if the value is "false". Javascript isn't logical. parent camblomquist 1 year ago
Because "0" is false. In a logical world, a non-empty string being truthy is fine even if the value is "false". Javascript isn't logical.