A snippet of the JSOP_ADD code from the 1998 SpiderMonkey interpreter

Why does 1 + "1" equal "11" in JavaScript?

and why is this a pitfall in production, and where did it come from in the first place?

· 8 min
Description of the image

Why NaN !== NaN in JavaScript (and the IEEE 754 story behind it)

Learn where NaN came from in JavaScript and why it cannot be compared

· 9 min