“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