🌎
web.dev
search
Ctrlk
  • 🌏web.devchevron-right
  • ⚙️toolschevron-right
  • 🔰HTMLchevron-right
  • 🔰CSSchevron-right
  • 🍒JSchevron-right
    • 💡tipschevron-right
    • 🧚technique
    • ⭐featurechevron-right
    • 🔰conceptchevron-right
    • 🔰compilationchevron-right
    • 🔰grammarchevron-right
      • 🚩directivechevron-right
      • *️tokenchevron-right
      • 🔰comment
      • 🈯declarationchevron-right
      • 📜statementchevron-right
      • 🚧operatorchevron-right
        • 🚧table of operators
        • 📖terms for operatorchevron-right
        • 🔴assignmentchevron-right
        • 🔴arithmetic operatorchevron-right
        • 🔴relational operatorchevron-right
          • 🔰equality & inequality operatorchevron-right
          • 🔰comparison operator
          • ➕in
          • ➕instanceof
        • 🚧logical operatorchevron-right
        • ⭕unary operatorchevron-right
        • ⭕binary operatorchevron-right
        • ⭕ternary operatorchevron-right
        • 🔰spread operator (...)
        • ➕rest operator (...)
      • 🔰statement vs. declaration
    • 🔰scopechevron-right
    • 💍valuechevron-right
    • 🔰variablechevron-right
    • 🔰modulechevron-right
    • 🔰iterationchevron-right
    • 🔰async codechevron-right
    • 🔰debuggingchevron-right
    • ⛔Errorchevron-right
    • 🏛️Librarieschevron-right
    • 🛠️toolschevron-right
    • ✨exampleschevron-right
    • 💼projectschevron-right
  • 🔰web componentchevron-right
  • 🌐browserchevron-right
  • 🔰Reactchevron-right
  • Serverchevron-right
  • 🔖附錄
    • 👔customchevron-right
    • 🧩three.jschevron-right
    • 🅰️Google Apps Scriptchevron-right
    • 📖JSDocchevron-right
    • 📦data structurechevron-right
    • 🔰algorithmchevron-right
    • 🔰paradigmchevron-right
    • 🔰TypeScriptchevron-right
    • 💎resourcechevron-right
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. 🍒JSchevron-right
  2. 🔰grammarchevron-right
  3. 🚧operator

🔴relational operator

JS ⟩ statement ⟩ expression ⟩ operator ⟩ relational ⟩

circle-check

🌟 table of operators

  • relational operators

    • equality & inequality (==, ===)

    • comparison (<, >, <=, >=)

    • in / instanceof

  • Equality (==)arrow-up-right / Inequality (!=)arrow-up-right

  • Strict equality (===)arrow-up-right / Strict inequality (!==)arrow-up-right

  • Less than (<)arrow-up-right

  • Greater than (>)arrow-up-right

  • Less than or equal (<=)arrow-up-right

  • Greater than or equal (>=)arrow-up-right

Previous(~~) vs. Math.trunc()chevron-leftNextequality & inequality operatorchevron-right

Last updated 3 years ago