JavaScript Strict Equality Gotcha
> 800 === 000800 < true > 123 === 000123 < false >
A JavaScript console shows that 800 is strictly equal to 000800, while 123 is not strictly equal to 000123. The joke references JavaScript's strange numeric literal behavior, where a leading zero can change how a number is interpreted, making it a relatable reaction for programmers dealing with JavaScript quirks.
- @gentoomemes / 3479 2023-03-30
- Type
- image
- Size
- 800×518 · 19.7 KiB
- Mood
- absurd, sarcastic
- Language
- en
- Added