Adding JavaScript ES6 to Dreamweaver CS6

后端 未结 2 694
独厮守ぢ
独厮守ぢ 2020-12-11 14:57

How do I make it so that Dreamweaver CS6 doesn\'t give me a syntax error when I use let instead of var?

2条回答
  •  情歌与酒
    2020-12-11 15:37

    Ok, just go to: Edit > Preferences > Linting then Edit the JS file.

    add this property:

    "esversion" : 6
    

    This helped me.

提交回复
热议问题