Comparing against typeof 'undefined' instead of undefined - Eli Perelman · HackerTrans