Ad
  • Default User Avatar

    This solution is similar to mine but I think you formatted it way more cleanly that I did. I'll change my style because this is way more readible. But I do have a question, why use map instead of str.toLowerCase(). directly?