Adding JavaScript ES6 to Dreamweaver CS6

2019-02-21 13:58发布

问题:

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

回答1:

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

add this property:

"esversion" : 6

This helped me.



标签: dreamweaver