by eyelidlessness · 4y ago · 0 comments
Then again, I'd be even more horrified if the above statement is not true anyways.
Of course, because javascript, there are other string values of `f` for which the two statements are equal as well. (e.g for empty string both statements are true because `-"" === -0`, and for "1" both values are false)
No, it is less-than-not, not less-than-or-not-equal-to.
That is <!x is the same as < (!x); if x is true-ish, it is “< false” and if x is false-ish it is “< true”.