Ad
  • Custom User Avatar

    Your code fails 5th rule, when the word has different consonants:

    The input string has no vowels -> return the original string plus "ay".

    But that's not tested in fixed tests, so, it's tested randomly. The language you used was javascript, wasn't it?