Equality Operators

In this lesson, we'll see the significance and usage of the equality operators in JavaScript. Let's begin!

Equality

Testing equality is an important operation in every programming language, just like in JavaScript.

Due to the loosely-typed nature of JavaScript, it defines two kinds of equality:

  1. identically equal (===), and
  2. equal (==)

Non-Equality

Implicitly, there are two kinds of non-equality: ...