4 ms·
Sure, I was just responding to the question: > Like, can you tell me a language where it does make sense to "apply AND to an empty string and a (negative?) zer
by kdmccormick 3y ago
Sure, I was just responding to the question:
> Like, can you tell me a language where it does make sense to "apply AND to an empty string and a (negative?) zero"?
People do stuff like that in Python all the time. Personally, I don't do it in JS, though, because I find the conversion-to-bool rules much less predictable. In this case, though, I guess JS would behave the same.