Ad
  • Custom User Avatar

    @serendip: Use console.log?

    Also, that looks like an obsolete kata problem, so closing.

  • Custom User Avatar

    Not exactly "any amount" of arguments, but specifically "at least two arguments".

  • Default User Avatar

    how to check the test cases ? The case failed, but can not get the case.

  • Default User Avatar

    You must use a product of at least two factors (a product of 1 factor, well.., it is not a product)

  • Custom User Avatar

    Two things:
    First, the test case [34735, 56] should resolve to 373, but instead expects 191.

    Secondly, all of the random tests give me this error.
    ReferenceError: res is not defined
    at sol_get_comb
    at sol
    at Object.Test.it
    at Object.Test.describe

    at [eval]:5:6
    

    The predefined tests all passed so I don't think it's a problem with my code. Help would be appreciated!

  • Custom User Avatar

    I like this kata, and I am 99% sure I have a solution, but one of the tests is buggy. I logged its inputs: 15, 125, 8. These numbers have a product of 15000, the largest palindrome from which is 5. The test says it's expecting 8, which I just don't think is right. All of my other tests pass. Please give me my magic internet points!

    Edit: I'm sorry, I didn't see that it should be looking for the largest palindrom from ANY AMOUNT of the arguments. My bad.