OR, needs only one value to be true; then the whole statement is “true”

”5>9

Result will be: true

You can best compare at most 2 values

that is best for:

  • the cleanness of your code;
    • for other people it will be harder to read your code
  • the effectiveness of your code;
    • sometimes will a statement with 3 operands ( .. || .. || .. ), not successfully be executed. It shows false or true when this is not the case.