window.toString.call is undefined in IE8
When you run: window.toString.call("") everything's fine in FF/CH but in IE8 you get a script error. Investigating a bit more it turned out, that window.toString.call is undefined in IE8? You can also run this one: window.toString instanceof Function; // false alert(window.toString); // function toString() { // [native code] // } Why is that and how to solve it? And I started wondering how come jQuery works in the first place? window is a host object, and the ECMAScript Language Specification (3rd edition) does not require host objects to be derived from the native Object object. In IE (and