Ad
  • Default User Avatar

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

  • Custom User Avatar

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

  • Default User Avatar

    Did You solved the kata? I'm not a JavaScript expert, but the IsPrime function looks OK to me. To spead up your code just find the first prime number add step to it and if it's a prime then You found the result.

  • Default User Avatar

    The ball can only be seen if the height of the rebounding ball is strictly greater than the window parameter.