January 14, 2017
I have seen people use
typeof as if it were a function
typeof(1), while this works, it’s not because it’s a function.
typeof is an operator. A unary operator like
delete, meaning it only has one operand. You can call
typeof with parenthesis