Strict Equality (==) Loose Equality (===) in Typescript
The Typescript has two operators for checking equality. One is == (equality operator or loose equality operator) and the other one is === (strict equality operator). Both of these operators check the value of operands for equality. But, the difference between == & === is that the == does a type conversion before checking for equality. Similarly, we have two, not equal operators != and !== which behaves similarly.
Strict Equality (==) Loose Equality (===) in Typescript Read More »