Internet Explorer 7/8 und Fensterfunktionen sind leere Objekte

In Internet Explorer 8 (funktioniert auch in IE9 im IE7 / 8-Modus) werden die folgenden Code-Warnungen ausgegebenobject undundefined statt erwartetfunction und so ähnlichfunction() { [native code] }.

alert("typeof window.setTimeout = " + typeof window.setTimeout);  // object
alert("window.setTimeout.apply  = " + window.setTimeout.apply );  // undefined

Versuch es:http://jsfiddle.net/BsvZw/5/

Warum passiert dies? Was wäre eine Problemumgehung, um die tatsächliche zu erhaltensetTimeout?

Aktualisieren

Ich versuche einen Wrapper zu erstellensetTimeout:

var _oldSetTimeout = window.setTimeout;
window.setTimeout = function ()
{
    // ...

    return _oldSetTimeout.apply(this, arguments);    // this is place where IE 7/8 says 'Object doesn't support this property or method'
                                                // and _oldSetTimeout looks like an empty object
};

Antworten auf die Frage(2)

Ihre Antwort auf die Frage