.js file works in chrome and firefox but not IE

前端 未结 3 927
悲哀的现实
悲哀的现实 2021-01-06 08:00

When testing my website out in IE11 certain parts of it don\'t work and I believe the issue lies with my \'custom.js\' file as all the problems link to that js. However, t

3条回答
  •  情深已故
    2021-01-06 08:38

    Easy way to check if your file has non-es5 syntax:

    npm install -g es-check
    es-check es5 offendingFile.js
    

提交回复
热议问题