What version of IE doesn't pass the event as a

2020-04-10 10:11发布

问题:

As some old versions of IE didn't provide the event as argument to event listeners, we got used to (event||window.event).

In order to decide whether it can still make some sense to have this in a modern library, I tried to look at what versions were concerned but I couldn't find this information.

So, what's the most recent version of IE that didn't provide the event as argument ?

回答1:

Internet Explorer provides a global object window.event, which references the last event. And before IE9 there are no arguments in the handler.

Get from