Ad
  • Custom User Avatar

    i wonder why this very simple solution doesn't get nearly as much "best practice" than the other one above there >^.^<

  • Custom User Avatar

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

  • Custom User Avatar
  • Default User Avatar

    I am sorry, but this Kata does not force you to use any language related features ..... IMO, it should be changed.

  • Default User Avatar

    At the moment, I would mark that (JS):

    1. the spec is for ECMAScript 2015 (ES6).
    2. Advise to check browser comatibility
    3. Give a link for the docs
  • Default User Avatar

    I think you can edit the example - so it doesn't look like output data should be '1, 2, 4.....'.
    When you read description briefly - like in my case - this is causing confusion.

  • Custom User Avatar

    Isn't 'Find the number of divisors of n.' obvious enought?
    I think I'll wait for some more feedback, from other warriors.

    An request to everyone - please let me know if description need further clarification

  • Default User Avatar

    I would say direclty what is expected output. It is misleading that there is sequence of dividers given and the amount of dividers. Firstly, I returned all the values that are dividers. Generally, I would add "Return value is expected to be integer representing number of dividers..." or sth similar to that.

  • Default User Avatar

    Got the same ........ and as Arosemena said: "details said the decimals must be truncated to 2 decimals not rounded :)", but the description says: "Your objective is to add formatting to a plain number to display it as price."

    When I calculate price, I always thnink of rounding down or up, dont You ?

    My suggestion is to mark in the description "no rounding". The word price is misleading here imo.