Ad
  • Default User Avatar

    i did some crazy batsh*t to pass lol. wayyy behind this solution
    but i feel that reading this makes me more aware of array methods for future katas!

  • Default User Avatar

    im no expert on regexp. im no expert on js neither. but 2 lines of comments can solve this issue.
    i think this is an excellent solution and one that i aim to write one day.
    i think that the combination of replace with the callback is something that shows knowledge...
    well its my opinion after all!