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.
I had the same issue, but once I passed an initial value into .reduce() it passed (i.e. arr.reduce(callback,[initialValue])
Figured it. Using the function name as a variable.
The error message was totally cryptic though, and I would think it would throw an exception when a function is called with the wrong parameters!
Nice! I would have never thought of this, but then again I never heard of the mathematical concept of "casting out nines".
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution