Is there a way to turn on ES6/ES7 syntax support in vscode?

前端 未结 7 1069
既然无缘
既然无缘 2020-12-02 14:51

Edit 3: Starting in version 0.4.0, ES6 syntax can be turned on by adding a jsconfig.json file to the project folder with the following contents:

7条回答
  •  -上瘾入骨i
    2020-12-02 15:52

    Currently, the only way to use ES6 and ES7 features is to use Typescript.

    On the other hand, here you can see that there is a feature request for ES6 and ES7

提交回复
热议问题