Rocky Rocky - 1 year ago 125
Javascript Question

(()=>{})(); in PhpStorm parses as error in code

in PhpStorm(2016.2) parses as error in code.

Anybody knows any quick workaround?

Answer Source

Make sure that JavaScript Language Version is set to 'ECMAScript 6' in Settings(Preferences) | Languages & Frameworks | JavaScript

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download