Due to a bug in the original C code for the implementation of Javascript, this awesome thing happens:
const a = null;
console.log(typeof a); // prints "object"
console.log(typeof a); // prints "object"
Which is dumb and should be fixed, but it won't be because it would break existing code. Sigh.