今天突然发现项目中引入的 jquery-3.2.1.js 报错了,其中一行:

syntax error on token “catch”,Identifier expected

syntax error on token “catch”,Identifier expected

我用的是sts工具,搜索了一下解决办法,发现是 validate 的问题,解决如下:

window --> Preferences --> Validation --> Restore Defaults

syntax error on token “catch”,Identifier expected

再在jquery-3.2.1.js右键-->validate即可。

相关文章:

  • 2022-12-23
  • 2022-01-18
  • 2021-07-07
  • 2022-12-23
  • 2021-06-29
  • 2022-12-23
  • 2021-12-27
猜你喜欢
  • 2021-04-25
  • 2021-05-23
  • 2021-11-19
  • 2021-05-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案