Ad
  • Custom User Avatar

    That's a problem with your code, not a kata issue, print the input to help you debug your code and read the docs (like MDN) about the methods you use.