it can convert datatype while comparing isn’t it confusing then what is the point of comparison then? below lines are from description
" Like the equality operator, the inequality operator will convert data types of values while comparing."
I blame Microsoft jScript, circa 1996, when we didn’t know better. And now, with legacy code, we’re stuck with it.