dancrew32 / AWESOME-JS

A Lightweight JavaScript Framework that performs common tasks (IE6, 7, 8, FF, WK, Opera)
awesomejs
2 stars 0 forks source link

correct method for null testing #39

Open dancrew32 opened 11 years ago

dancrew32 commented 11 years ago

https://github.com/dancrew32/AWESOME-JS/blob/master/awesome.js#L47-L52

typeof null is object, not 'null' would be safer to compare === null