Flashcards
Equality, type coercion, var/let/const, hoisting, closures, array methods, promises and the event loop, with 'what does this log?' practice.
== vs ===
==
===
Tap to flip
=== (strict equality) compares value and type with no conversion. == converts types first, which causes surprises. Use === by default.
Tap to see the front