I can\'t find any information on this issue; why doesn\'t the following code work in IE?
window.x = 45; delete window.x; // or delete window[\'x\'];
I would do it this way:
window[x] = undefined; try{ delete window[x]; }catch(e){}