Ad
  • Default User Avatar

    Thank you, guys, I will check thngs out ...expecially - arguments[1]
    ...indeed! the case was with it...I have subsided it with plain figure - 23 and
    get it passed...
    Thank you all!

  • Default User Avatar

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

  • Default User Avatar

    return resNum.pop();
    ...maybe put here the code - so someone could check?
    ...with spoiler tag?...

  • Default User Avatar

    ...no - the return ...;
    is present -

  • Default User Avatar

    JavaScript...
    Hi guys!
    Icannot pass test for the KATA - see below...
    I have tested on in GOOGLE Dev.tools
    and the result is that of expected, - but
    I cannot pass it here...
    I end up with single number - say 23 for (10,23) and 14 for (8,23)
    but test states - 'undefined'
    what can it be?

    thenks in advance

    Description:
    If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
    Finish the solution so that it returns the sum of all the multiples of 3 or 5 below the number passed in.
    Note: If the number is a multiple of both 3 and 5, only count it once.