Fixing 'typeof' precedence