Ad
  • Custom User Avatar

    That's not a kata issue, your code is returning a wrong answer. If there is no anchor, then your code should return exactly the same url, as shown in the example and expected in the test.

    expected 'www.codewars.com/katas' // <- This is your answer, you removed the / at the end
    to equal 'www.codewars.com/katas/'