* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
8 lines
614 B
Markdown
8 lines
614 B
Markdown
# 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:
|
|
|
|
- [@article@Loosely Equality (==) Operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality)
|
|
- [@article@Comparison - javascript.info](https://javascript.info/comparison) |