🌎
web.dev
Ctrlk
  • 🌏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
Powered by GitBook
On this page
  1. 🍒JS
  2. 🔰grammar
  3. 🚧operator

🔴relational operator

JS ⟩ statement ⟩ expression ⟩ operator ⟩ relational ⟩

🌟 table of operators

  • relational operators

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

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

    • in / instanceof

  • Equality (==) / Inequality (!=)

  • Strict equality (===) / Strict inequality (!==)

  • Less than (<)

  • Greater than (>)

  • Less than or equal (<=)

  • Greater than or equal (>=)

Previous(~~) vs. Math.trunc()Nextequality & inequality operator

Last updated 3 years ago

Was this helpful?

Was this helpful?