“What’s the typeof null?”, and other confusing JavaScript Types

The typeof operator in JavaScript evaluates and returns a string with the data type of an operand. For example, to find the type of 123, we would write – typeof 123 This will return a string with the type of 123, which, in this case, will be “number”. I… Read more

Similar

Fixing JavaScript’s Date

I’ve been off the blog for a while, which has to do with a lot of things going on in my life. That said, I’m happy to report that I’m back with stories about a big project –… (more…)

Read more »