简体   繁体   中英

IE11 unable to see JavaScript functions

In reference to JavaScript Functions Working Locally but not in Test deployment

While I have the website functional for Chrome, not all of my users use Chrome.

Some still prefer (or are restricted to) IE11. IE11, however, cannot execute the JavaScript functions, even when it posts the script for them in the DOM_Explorer and Debugger views.

What can be done to force IE11 to recognize the JavaScript so that all my users can use the page correctly regardless of browser?

Thanks to @JhWebDevGuy for showing me this: https://stackoverflow.com/a/48320394/11035837

This was the answer I needed.

IE11 doesn't support many of ES6 features. For example arrow functions . If you are using ES6, see this answer on the subject .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM