Use windows10's own edge browser to simulate problems found in IE8

When I was learning Javascript today, I wanted to see if addEventListener was really not supported in IE8. When I used edge to simulate IE8, I found that the js program was running correctly. When I simulated IE8 with IE11, I saw the error message "SCRIPT438: object 'addEventListener' property or method is not supported". According to the explanation in "Javascript Advanced Programming (Third Edition)", addEventListener is a DOM2 level event, which is only supported in IE9 and above IE browsers, so I judge that at present, windows10 comes with its own browser edge The browser is not suitable for emulating IE8 for testing.

The screenshot of the edge browser version is as follows:



 

The IE11 version of windows has long stopped updating. The screenshots are as follows:



 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327045473&siteId=291194637