* 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: