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.
Thank you kgashok! I tried to mark the kata as ready now - hope that worked!
Added an example test case that provides a helpful hint when it fails.
Thanks for your feedback. Will provide helpful hints on the test cases.
Completely agree with comment by JoshSchreuder: better description, clean up spelling mistakes and change expected return value as it is not an integer.
Lack of test cases
Very nice kata! And again stunned about the plentitude of ways to tackle problems like thise. Clear requirements and ample test cases. Nice one!
Very easy kata. As per other mentions.. more and random test cases would be good.
New to JS and as many suggested below it is not really clear how to return the result. I got thrown off a bit by the single quotes in the displayed testcase, and figured it must be something else than an object literal - mapped my answer to JSON (which turned the properties into quoted property format) and it got accepted.
WOW - I will revisit this one a bit later :) Just started JS and hardly dabbled with async, the concept of promises was totally alien to me. Excellent learning point for me and been reading up, testing script bits on JSbin. Thought I had a reasonable grasp of the fundamentals of JS, well.. hmm.. someone just popped the bubble :)
Description could be clearer to prevent confusion as noted by many others. Test cases should reflect the requirements better. Very simple kata, which sounds very complicated by it's description.
I TOTALLY agree with the button being more prominent. I am still new to CW and I struggle to locate this button every time. Why not have this action in the same area where you bookmark the kata? The number of upvotes sits there too, but it is not clickable. Makes no sense at all. I just completed a fun kata in beta and struggled with this (again) hence me looking for an 'could be improved' comment.
This comment is hidden because it contains spoiler information about the solution
Fun Kata! Some of the solutions provided by others blew me away - very clever as I learnt about a new operator in ES6. Requirements and conditions are described properly and thanks for providing a hint to fundamental information.
This comment is hidden because it contains spoiler information about the solution
Loading more items...