== ? === ??? ...#@^%
summary
Explains exactly which coercions happen, why null == undefined but null >= 0 behaves differently, and where the 22‑step abstract equality algorithm applies; shows the surprising edge cases that break intuitive rules and demonstrates a practical JavaScript equality table that maps == and === outcomes. Recommends concrete tools — parseInt/Number/toString, the console, and explicit casts — and claims === avoids coercion while == runs the full algorithm, so it’s worth watching if specific rules and examples matter.
AI-written summary · about
chapters (8)
- 0:00Start
- 1:14type conversion in general
- 1:40type conversion in JavaScript
- 3:42simple types to numbers
- 4:17simple types to booleans
- 4:40converting objects
- 12:04a surprise
- 14:48JavaScript equality table
related talks
23mTruthiness, falsiness and other JavaScript gotchas
05mJavaScript: The Bad Parts
11mUnderstanding the differences is accepting
57mDown the Rabbit Hole: JavaScript in Wonderland
55mJavaScript the Grumpy Parts
41mJavaScript is Weird. MythBusters Special
17mHow Does JavaScript Math?
32mJavaScript is weird. MythBusters special
