by eyelidlessness · 4y ago · 0 comments
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)
f = 0 (type: object, constructor: Number)
0<!f = false
0<!-f = true