Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebStorm “Let definition are not supported by current JavaScript version” [duplicate]

I am trying to use new tools available for coding in JavaScript. I've seen the post PhpStorm "Let definition are not supported by current JavaScript version". I've tried as suggested over there, but do not work.

When I hover over the export

Export declarations are not supported by current JavaScript version

When I hover over the yield

Generators are not supported by current JavaScript version

and hovering over the let

Let definition are not supported by current JavaScript version

So the question is how to upgrade the JavaScript version?

like image 201
AST Avatar asked Aug 20 '16 12:08

AST


1 Answers

It can be set up like in the following image:

enter image description here

Flow: File -> Settings -> Languages & Frameworks -> Javascript

like image 145
YanMeng Avatar answered Sep 25 '22 05:09

YanMeng