Ad
  • Custom User Avatar

    one question. I was looking about the join and best practices. But I have not found any info.

    Why is not a best practice the use of join? do you have a link or a little explanation about that, pls :)

  • Custom User Avatar

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

  • Default User Avatar

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

  • Custom User Avatar

    Sorry for my lack of JS knowledge, but I do not believe that you are actually returning anything. The only return statement I see is in the checkSums function, which would return it to the bothSums function. You are never returning from the main function.

    Also, you've done something really strange with nesting the functions like that. I don't know if it is normal, or allowed in JS, but I have never seen it. You should probably consider calling one of your functions from the findEvenIndex function and closing out the first function.

    Like I said, I'm no expert on JS, but both of those things seem very strange to me.

    Also, please do not mark Katas as having issues unless you are positive it is an issue with the kata. This should have been marked as a question.