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.
Seeint this solution, I realize that I know nothing about Javascript :/
And since when being a mod makes me perfect? I stand corrected, it's not needed in this case.
This is really weird from a mod at 1kyu.. Have YOU tried the code without them? It works perfectly fine, and of course it does, because before the reduce he's calling a map, and what's returned in the callback from map is always a number, the cast back to number happens when you do the power, there's no need to cast again in the reduce.
Unary operator to convert from strings to numbers, have you tried the code without them?
Can't understand why you're using +a + +b in your reduce function, instead using simple notation a + b.