Ad
  • Custom User Avatar

    I believe this is still should be worded better.

    Saying "If arr contains neither 5 nor 13" implies you're looking for the case where there is no 5, as well as no 13 (both have to not exist). What the white array is really testing for is a case where there is either no 5 or no 13 (only one of those does not exist).

    Perhaps you could say "If arr either does not contain 5, or it does not contain 13, we should return "It's a white array".

  • Custom User Avatar

    Closing.

  • Custom User Avatar

    There is no problem with the kata, it's a problem with your code, you're probably using == to compare the values.

    JavaScript Completions 6939

    Always look at the number of completions before creating an issue, if it's a problem with your code use Question label instead, paste your code with proper markdown and mark your post as having spoiler content.

  • Default User Avatar

    There is an issue with tests 6, 7, and 8 as they will not pass. I tried multiple variations of the solution as well as an inverse solution with same result. All random tests pass for me.