Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Good
Nice
I couldn't even think about
get info()
.Guess I have a long way to go.
What mattc said, plus I find it easier to mentally interpret a template string than a concatenated string.
Template Strings, Well the template strings get's evaluated to
this.name + 's age is ' + this.age;
anyway. The reason I used it was because this kata is about the new JS2015 standard which is where the Template Strings were introduced so I personally found them appropriate to use.${this.name}s age is ${this.age}
;What do you call this notation, and why use it over:
this.name + 's age is ' + this.age;
This comment is hidden because it contains spoiler information about the solution