Pergunta de entrevista da empresa Weedmaps

Given an array of strings, only capitalize the first letters with a function. Some general JS questions, and some questions about SSR.