== vs === in JavaScript

In JavaScript for checking equality or comparison we have two operators. Now the main difference between two operators is that == does type coercion before comparison but ==== does not convert and compares as it is. Type coercion: Type coercion is automatic or implicit conversion of one data type to another. It is similar to …

== vs === in JavaScript Read More »