Ad
  • Custom User Avatar
  • Custom User Avatar

    Thank you kgashok! I tried to mark the kata as ready now - hope that worked!

  • Custom User Avatar

    Added an example test case that provides a helpful hint when it fails.

  • Custom User Avatar

    Thanks for your feedback. Will provide helpful hints on the test cases.

  • Custom User Avatar

    Completely agree with comment by JoshSchreuder: better description, clean up spelling mistakes and change expected return value as it is not an integer.

  • Default User Avatar

    Lack of test cases

  • Custom User Avatar

    Very nice kata! And again stunned about the plentitude of ways to tackle problems like thise. Clear requirements and ample test cases. Nice one!

  • Custom User Avatar

    Very easy kata. As per other mentions.. more and random test cases would be good.

  • Custom User Avatar

    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.

  • Custom User Avatar

    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 :)

  • Custom User Avatar

    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.

  • Custom User Avatar

    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.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    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.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Loading more items...