Javascript Weird Parts Extra Quality Jun 2026

These are just a few of the weird parts of JavaScript. While they can be confusing, understanding them is essential to becoming a proficient JavaScript developer.

NaN (Not a Number) is a special value that's not equal to anything, including itself: javascript weird parts

console.log(typeof NaN); // "number"