Equality Operators
In this lesson, we'll see the significance and usage of the equality operators in JavaScript. Let's begin!
We'll cover the following...
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:
- identically equal (
===
), and - equal (
==
)
Non-Equality
Implicitly, there are two kinds of non-equality: ...