mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-11-25 06:57:02 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
614 B
614 B
isLooselyEqual
The abstract equality comparison (loose equality) is the algorithm behind the == operator. It defines the rules for how values of different types are coerced before comparison. For example, null == undefined is true, but null == 0 is false. Understanding this algorithm explains many of JavaScript's surprising equality behaviors.
Visit the following resources to learn more: