News for hackers. Stuff that matters.
Re:Airbnb JavaScript Style Guide by mAritz on Wednesday July 08, 2015 @01:48AM (#9850012)
Using typeof(foo) === "undefined" is actually something that comes from back when it was pretty common to pollute the global namespace. There were actual javascript plugins/libraries/snippets that defined undefined and thus broke code that compared to it.

There are no comments on this comment yet.