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.
Works, thanks.
This comment is hidden because it contains spoiler information about the solution
I have a problem with the last test. Following error is comming up at the final test: 'Reduce of empty array with no initial value'. I tried to modify the input with
Array.slice(0)
but it doesn't work. I'm sure that it will work with any random test. What's wrong with this kata?Due to inconsistency in rounding seconds I cannot pass all tests. I have difference of 1 second... Any solutions?