Skip to content

Challenge Comparison With The Strict Inequality Operator

SaintPeter edited this page · 2 revisions
Clone this wiki locally

Challenge: Comparison with the Strict Inequality Operator

The strict inequality operator (!==) is the opposite of the strict equality operator. It means "Strictly Not Equal" and returns false where strict equality would return true and vice versa. Strict inequality will not convert data types.

Examples

3 !== 3   // false
3 !== '3' // true
4 !== 3   // true
Something went wrong with that request. Please try again.