Last Updated: February 25, 2016
·
484
· alexpercsi

A better way for checking for undefinedness.

typeof foo==="undefined" can be shortened to foo===0[0]. It is also faster.