document.all instanceof Object; // true
typeof document.all; // 'undefined'

typeof document.all; // 'undefined'
That makes no sense why would it be typeof Object if its not an object then?It's because document.all has many different types inside it, not just an Object type.
