Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 465 Bytes

File metadata and controls

22 lines (15 loc) · 465 Bytes

OPERATORS AND LOOPS

COMPARISON OPERATORS : EVALUATING CONDITIONS

  • You can evaluate a situation by comparing one value in the script to what you expect it might be.

  • The result will be a Boolean: TRUE or FALSE

    • == is equal to
    • != is not equal to
    • === strict equal to
    • !== strict not equal to
    • = greater than equal to

    • <= less than or equal to

LOGICAL OPERATORS

  • && logical and
  • || logical or
  • ! logical not