Will `typeof window === 'object'` always be true?
<p>Assuming window isn't shadowed, will <code>typeof window === 'object'</code> always be true? Is this safe?</p>

<p>Context: I'm trying to export a module to the global scope using browserify and I want to include a check to see if this module is run in the browser and if it is, I want to export it to the global object.</p>