IE9 does not support console.log

When using the dataTable plug-in, when IE9 is operating, console.log is written to print data, but the program does not execute. F12 calls the console, and the program continues to execute. After the console.log is filtered out, the program can continue to execute. After consulting the data, I found that  if you are in IE8/9, you should consider compatibility issues and wrap the console.log() action with if (window.console) { ... }.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324524493&siteId=291194637