
And here’s the weird part 🤯
typeof null // "object"
Did you know this?
Priya Kothalkar@PriyaKothalkar
Did you know? In JavaScript, undefined is both a value AND a type. let x; console.log(x); // undefined console.log(typeof x); // "undefined" Small detail, but easy to miss 👀
English









