Ad
  • Custom User Avatar

    They don't. All the tests follow the same pattern.

  • Custom User Avatar

    There is no issue with the random tests in JavaScript.

  • Custom User Avatar

    No idea either, I've tried your current solution changing all arrow functions to normal function syntax and it worked fine.

  • Custom User Avatar

    Oh no, our Math object was "accidently" reset.

    That's the point of the kata, you need to reimplement the three mentioned, but you can't use any of the other Math methods either because they're gone.

  • Custom User Avatar

    Keep in mind that empty arrays may be not displayed in output, so you might be looking at another tests's inputs, hence different expected results.

  • Default User Avatar

    There is no problem in the tests but your code is wrong.
    Before posting issues it is good to have a look at the top of the page to see how many guys passed the kata (11596 in JS which I suppose... is your language). If the number is high enough chances are that your code is wrong.