`typeof` is an operator; the parens are unnecessary. Also, let's use `===` rather than `==`.