IDEA出现报错:const definitions are not supported by current javascript version
IDEA出现报错:const definitions are not supported by current javascript version报错信息:当前javascript版本不支持const定义如图:出现这个情况原因:javascript版本低,EcmaScript 6 以前的版本是没有const关键字,所以要改成EcmaScript 6以后版本解决方法如下:...