Ad
  • Custom User Avatar

    Complete the function scramble(str1, str2) that returns true if a portion of str1 characters can be rearranged to match str2, otherwise returns false.

    Rearranged means you have to work with what you have, not create another thing. So you can't rearrange alas to form salas, but the opposite is possible. The kata works fine for javascript (remember to mention the language when asking for something).