HubSpot interview question

console.log using spread operator, memoization, prototype, add comma between each character in a string etc.