Challenge Comparison With The Strict Inequality Operator - thelastmile/FreeCodeCamp GitHub Wiki
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