The problem if ( !window.TestClass ) { function TestClass() { // … } TestClass.prototype.go = function () { alert("gone"); }; } var test = new TestClass(); test.go(); In IEv6, v7 & v8, the above test case fails. This is probably an example of IE’s JScript engine getting ahead of itself: the function “TestClass”, [...]

July 27th, 2011
Dan Phillimore
Posted in
Tags:


