HubSpot Interview Question

Write a function to add commas between every character in a string. Then add the function to an object's prototype.