[Alt-Tab] Better to use typeof-undefined test on strings.