Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 378 Bytes

Challenge: Comparison with the Strict Equality Operator

Strict equality (===) is the counterpart to the equality operator (==). Unlike the equality operator, strict equality tests both the type and value of the compared elements.

Examples

3 === 3   // true
3 === '3' // false

In the second example, 3 is a Number type and '3' is a String type.

Something went wrong with that request. Please try again.