One thing I never really liked about JavaScript was the way it treats null, undefined, and false. It's just, well... weird.
Another example of this that I discovered today... null is greater than or equal to zero, but it's not greater than 0, nor is it equal to zero. WTF?
Another example of this that I discovered today... null is greater than or equal to zero, but it's not greater than 0, nor is it equal to zero. WTF?
Comments