用idea使用ES6 ->const和let变量值,提示Const/let definitions are not supported by current JavaScript version
解决方法:
左上角-》File-》settings-》搜索javaScript
找到下图内容进行设置
这样就可以使用es6相关特性了。
用idea使用ES6 ->const和let变量值,提示Const/let definitions are not supported by current JavaScript version
解决方法:
左上角-》File-》settings-》搜索javaScript
找到下图内容进行设置
这样就可以使用es6相关特性了。