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
but what you are in fact doing, besides making
typeof look like a function call, is simply ensuring the contents of the parentheses are evaluated before being operated on