FlashcardIntermediate

How == Compares Different Types

Learn how JavaScript's loose equality operator coerces operands before comparing them.

Question

How does the loose equality operator (==) compare values of different types?

Click to reveal answer