The operators can be chained like in Python, which is more intuitive than JS’s comparison of the truth value of one comparison to the other operand of the other comparison. I’m not entirely sure if a < b > c should be allowed, so I didn’t mention it.
The operators can be chained like in Python, which is more intuitive than JS’s comparison of the truth value of one comparison to the other operand of the other comparison. I’m not entirely sure if
a < b > c
should be allowed, so I didn’t mention it.