me too.
what you write is right.And thanks.But I want to know why the result (event === window.event) is false.
I mean they all grobal variable values in IE 10. event is equal to a attributes of window
window.event is the IE event object while the one passed as a parameter when the function is called is the JavaScript event object (which is NOT in global scope and therefore can never be equal to one that is).
In JavaScript two objects are only equal when they are the exact same object and not two different but identical objects.
Using window.event is now obsolete as all versions of IE from 9 onward now support JavaScript.