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 u are Solving this kata with js u can use join('+')
You can try either removing the plus after everything is done, which in this case, it looks like the best solution is .replace()(since JS' trimEnd function doesn't allow you to choose the characters being trimmed) or you could prevent the plus from being added in the first place, which could probably be done with a simple if statement.