ECMAScript 6 support in PhpStorm 2016
Go to Settings > Languages & Frameworks > JavaScript
Then change JavaScript language version
to ECMAScript 6
MacOs: Menu > PhpStorm> Preferences > Languages & Frameworks > JavaScript
and change JavaScript language version to ECMAScript 6