2 ms·
typeof in JavaScript is a unary operator, not a statement or a function. Which makes sense and squares with instanceof. It would be bonkers for print to be a u
by eropple 7y ago
typeof in JavaScript is a unary operator, not a statement or a function. Which makes sense and squares with instanceof.
It would be bonkers for print to be a unary operator because it's just a side effect, and so I feel that your point in this situation is correct where it would not be in your other examples.