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.
https://www.codewars.com/kata/reviews/52685f7482004e774f0001fa/groups/62674d726e9ff800010b84a9
Update, it's better.
That's right, it's just for readability
% 3600
as inseconds % 3600 % 60
is laughable.Just
seconds % 60
is enough.Your point is invalid, ThisIsManta. This kata teaches some really useful skills for debugging.
In the real world, people make silly mistakes. And in the real world, you need to be able to find the cause of silly mistakes. You can't just "skip" them. It's simply a kata that teaches you something about peculiarities of JavaScript objects and tries to make you think more deeply about what exactly happens when using for loops, arrays etc.
This kata is totally BS, like ever! For those guys who don't know the fix, just skip this kata.
This kata will not add any real-world technical skills. Why on earth did you use for(..in..) with an array?