JavaScript

Strict Equality

Definition

The `===` operator that checks both value and type without type coercion. Unlike `==` (loose equality), strict equality does not convert operands before comparing. Always prefer `===` over `==`.

Code Example

Javascript
Tip: Modify the code above and click “Run” to see the results

Learn More

Related Terms