Missing typeof on the undefined check.