Use esnext to preprocess your ember-cli app's files.
npm install ember-cli-esnextThis addon inserts adds esnext processing into the javascript preprocessor for Ember CLI.
From within your Ember CLI application (must be >= 0.0.41), run the following:
``bash`
npm install --save-dev ember-cli-esnext
That's all. You can now use ES6 syntax supported by esnext in your .js`
files.