Ember and ES2015 features

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 ?

If you use ember-cli you get ES2015 features via babel with both 1.13 and 2.0.

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

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.

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

It’s more of a cutting edge JSbrowser compatible js compiler.

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.