Ad
  • Default User Avatar

    happy you completed kata successfully:)! cheers!

  • Default User Avatar

    so did you manage to solve the kata afterall:)?

  • Default User Avatar

    hi sempjc, one trick if you would like to see what was the test case simply add console.log() at the beginning of your code which prints argument given to the function.

  • Default User Avatar

    hi sempjc,

    there is clarification for you, i have just made some changes to the solution function, so now how it works for JS version:
    numbers given must be positive integers not doubles
    -if numbers are positive but not consecutive it returns 'not consecutive'
    -if numbers has among them at least one double number it returns 'incorrect input'
    -if numbers has among them other character than number it returns 'incorrect input'
    hope it helps

  • Default User Avatar

    hi sempjc,
    what was your input in this "Expected: incorrect input, instead got: 257,401, 507.34,702,127,833,566" case?