Understanding ==, === and typeof in JavaScript

added by JavaScript Kicks
10/19/2018 7:49:30 AM

596 Views

We all know that == and === are comparison operators in JavaScript, But == is the equality operator that converts the operands if they are not of the same type, before making the comparison. While the === is called the Identity/strict equality which return true if the operands are strictly equal.


0 comments