Why does JSHint throw a warning if I am using const?

后端 未结 17 2995
眼角桃花
眼角桃花 2020-12-12 08:18

This is the error I get when using const:



        
17条回答
  •  佛祖请我去吃肉
    2020-12-12 09:00

    To fix this in Dreamweaver CC 2018, I went to preferences, edit rule set - select JS, edit/apply changes, find "esnext" and changed the false setting to true. It worked for me after hours of research. Hope it helps others.

提交回复
热议问题