Function pointer method calls
Earlier versions of Windows Internet Explorer supported caching a pointer to a method and then using the cached pointer to call the method. As of Windows Internet Explorer 9, This support was removed to improve interoperability with other browsers.
Now you must specify the target for the method call just as you do in all other browsers. So while this code works in Windows Internet Explorer 8 and earlier:
Now it fails in Internet Explorer 9 just as it fails in all other browsers. An easy fix for this issue is to use the call method (a property of all functions) to explicitly provide the appropriate calling object:
d.call(document, "<script language="VBScript">”);
var d = document.writeln.bind(document); d("<script language=VBScript>"); // Now this is OK.
Build date: 12/18/2013