# Ember and ES2015 features

**URL:** <https://discuss.emberjs.com/t/ember-and-es2015-features/8942>\
**Category:** Uncategorized\
**Created:** [October 9, 2015, 9:07am UTC](https://discuss.emberjs.com/t/ember-and-es2015-features/8942 "2015-10-09T09:07:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![harimath](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@harimath](https://discuss.emberjs.com/u/harimath)\
**Post date:** [October 9, 2015, 9:07am UTC](https://discuss.emberjs.com/t/ember-and-es2015-features/8942/1 "2015-10-09T09:07:05Z")

</div>

Does Ember version 1.13 use ES2015 features OR have they started using ES2015 features from Ember v 2 onwards only ?

Also it would be great if you could point out some of the ES2015 features which Ember uses ?

---

<div class="post-metadata">

**Author:** ![varblob](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/varblob/32/10304_2.png) [@varblob](https://discuss.emberjs.com/u/varblob)\
**Post date:** [October 9, 2015, 9:00pm UTC](https://discuss.emberjs.com/t/ember-and-es2015-features/8942/2 "2015-10-09T21:00:49Z")

</div>

If you use ember-cli you get ES2015 features via [babel](https://babeljs.io/) with both 1.13 and 2.0.

---

<div class="post-metadata">

**Author:** ![harimath](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@harimath](https://discuss.emberjs.com/u/harimath)\
**Post date:** [October 10, 2015, 4:56am UTC](https://discuss.emberjs.com/t/ember-and-es2015-features/8942/3 "2015-10-10T04:56:30Z")

</div>

But does Ember v 1.13 use ES 2015 features ? If yes, which ?

---

<div class="post-metadata">

**Author:** ![varblob](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/varblob/32/10304_2.png) [@varblob](https://discuss.emberjs.com/u/varblob)\
**Post date:** [October 10, 2015, 12:46pm UTC](https://discuss.emberjs.com/t/ember-and-es2015-features/8942/5 "2015-10-10T12:46:55Z")

</div>

Oh you mean the library itself, I’m pretty sure it does since they’re using babel. As to which features specifically, I know I’ve seen import, `{functionName(){}}`, and fat arrow in my random poking around of ember source but they probably use more than that. I’m also pretty sure that these features have been in use in both 1.13 and 2.0. Keep in mind they don’t appear in the actual distributed js since they’re using babel to transpile.

---

<div class="post-metadata">

**Author:** ![harimath](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@harimath](https://discuss.emberjs.com/u/harimath)\
**Post date:** [October 10, 2015, 3:50pm UTC](https://discuss.emberjs.com/t/ember-and-es2015-features/8942/6 "2015-10-10T15:50:09Z")

</div>

So babel kind of acts as polyfill for older browser suppport ?

---

<div class="post-metadata">

**Author:** ![varblob](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/varblob/32/10304_2.png) [@varblob](https://discuss.emberjs.com/u/varblob)\
**Post date:** [October 11, 2015, 12:24am UTC](https://discuss.emberjs.com/t/ember-and-es2015-features/8942/7 "2015-10-11T00:24:40Z")

</div>

It’s more of a `cutting edge JS` → `browser compatible js` compiler.

---

<div class="post-metadata">

**Author:** ![robdel12](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/robdel12/32/9337_2.png) [@robdel12](https://discuss.emberjs.com/u/robdel12)\
**Post date:** [October 12, 2015, 9:58pm UTC](https://discuss.emberjs.com/t/ember-and-es2015-features/8942/8 "2015-10-12T21:58:09Z")

</div>

> So babel kind of acts as polyfill for older browser suppport ?

Sort of. It complies the JS to regular ES5/3 in a build step.
