What does the === operator do in JavaScript?

  • Assignment
  • Logical AND
  • Strict equality comparison
  • Type coercion equality comparison
The === operator in JavaScript performs strict equality comparison, meaning it checks both value and type. It returns true if the operands are equal without performing type coercion.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *