Both of these comparison operators have equality operators, the triple equals, ===, is what’s called a strict equality operator while the double equals are equality operators.
In order to evaluate the equality operator, the value and the type of the operands must match. If the value and the type are not the same, the comparison evaluation will evaluate to false.
4 === “4” //won’t evaluate because the left operand is of type ‘number’ while the right operand is of type ‘string’.
Because the equality operator uses those operands that are already the same type (if not already) before…