Template strings are used in introductory examples. Code examples like the following:
const Person = Ember.Object.extend({
sayHello: function(){
return "Hi, my name is " + this.get('name');
}
});
Should become:
const Person = Ember.Object.extend({
sayHello: function(){
- return "Hi, my name is " + this.get('name');
+ return `Hi, my name is ${this.get('name')}`;
}
});
Template strings are used in introductory examples. Code examples like the following:
Should become: