Ad
  • Custom User Avatar

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

  • Custom User Avatar

    Javascript naming convention for functions and vars is camelCase.

  • Custom User Avatar

    hi,

    Unfortunately, there's nothing new here (we have already tones of this kind of kata).
    Moreover, you don't have enough tests neither random tests. And once you add random tests to it, you'll run directly into floating points troubles: since you compare strings, you can encounter solutions that will be considered incorrect while they are, just because the calculations are done in a different manner than in your reference solution.

    You should unpublish it, imo.

    Cheers