Types, conversions, and equality
Is this comparison true or false?
Examples
Worked example
Input
Number('8') === 8Expected output
true
Hints and solution
Hint 1
Write down the starting state and walk through one example by hand.
Reveal worked answer
The conversion produces the number 8, so the two operands have the same type and value.