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.
If you were trying to use the Javascript method .concat() like a was, here's where I was tripping up with it
concat does not alter the invoking strings, but returns a new one.
So you can't just iterate over the names array and concat the names to an empty string without reassigning the variable every time
I initially was using a forEach loop with a regular for loop inside of it and it wasn't working. Not sure why I went that direction with it, but it didn't work. I would love to know why it didn't work though! This solution does work.