🌎
web.dev
search
⌘Ctrlk
🌎
web.dev
  • 🌏web.dev
  • ⚙️tools
  • 🔰HTML
  • 🔰CSS
  • 🍒JS
    • 💡tips
    • 🧚technique
    • ⭐feature
    • 🔰concept
    • 🔰compilation
    • 🔰grammar
      • 🚩directive
      • *️token
      • 🔰comment
      • 🈯declaration
      • 📜statement
      • 🚧operator
        • 🚧table of operators
        • 📖terms for operator
        • 🔴assignment
        • 🔴arithmetic operator
        • 🔴relational operator
          • 🔰equality & inequality operator
          • 🔰comparison operator
          • ➕in
          • ➕instanceof
        • 🚧logical operator
        • ⭕unary operator
        • ⭕binary operator
        • ⭕ternary operator
        • 🔰spread operator (...)
        • ➕rest operator (...)
      • 🔰statement vs. declaration
    • 🔰scope
    • 💍value
    • 🔰variable
    • 🔰module
    • 🔰iteration
    • 🔰async code
    • 🔰debugging
    • ⛔Error
    • 🏛️Libraries
    • 🛠️tools
    • ✨examples
    • 💼projects
  • 🔰web component
  • 🌐browser
  • 🔰React
  • Server
  • 🔖附錄
    • 👔custom
    • 🧩three.js
    • 🅰️Google Apps Script
    • 📖JSDoc
    • 📦data structure
    • 🔰algorithm
    • 🔰paradigm
    • 🔰TypeScript
    • 💎resource
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