Ad
  • Custom User Avatar

    Thanks to all of you for these useful comments!! OMG!! I would never have found out by myself!!
    JohanWiltink, I am not able to see the last line of your solution. I think it's incomplete.
    I try to understand this last line. Is [...s] another type of sort code trick?
    Thanks again :D

  • Custom User Avatar

    Ok, I see your point now, thanks.
    But, I have troubles to understand your code. I am newbie with javascript.
    Please, Could you tell me what is the functionality of => operator? I searched in W3School web and google, but, I couldn't find it.
    Where is v variable coming from?
    If you can share any reference or web page, I would look up it by myself.
    I want to undersand your code, because I think I would learn, Many thanks! :D

  • Custom User Avatar

    Hi! Thanks for the review.
    I added a test for empty string.
    I don't get why I need to add a radom tests?
    I included some non-well and well formatted roman numerals inside of test cases. Test cases should be as simple as possible, so these are easy to verify and correct. I don't see the advance of aleatory number a part of If I test all the possible cases.
    Could you please be more specific? I am still learning TDD.
    Thanks!

  • Custom User Avatar

    I will add a note to this kata.

  • Custom User Avatar

    Thanks for the replay. Finally, I found the problem. Numbers of iteration was not defined base on the number.

  • Custom User Avatar

    Thanks gabbek!
    I have included a note in the description of my kata :D

  • Custom User Avatar

    Hi,
    I have the same problem. Did you find the way to make this work? It´s driving me crazy!!! :D
    Thanks

  • Custom User Avatar

    Hi, I get the next error when I run the summit test:
    TypeError: divisors(...).join is not a function
    at Object.handleError
    at ContextifyScript.Script.runInThisContext
    at Object.exports.runInThisContext

    I don´t know where this error comes from. I sorted the output array and I return the array instead print.
    Any suggestion?