> "120" > "99.9"; // TypeError > Anything else will bring confusion.
Not sure about this, you can do it the JS way: if both operands are strings, then it behaves like strcmp(): "23" > "4"; // false "23" > "221"; // true I'm not saying that we should do it, but this would not be confusing to me at all. Ben