문제 링크 : Check if a String Is an Acronym of Words
/** * @param {string[]} words * @param {string} s * @return {boolean} */ var isAcronym = function(words, s) { return s === words.reduce((acc, cur) => { return acc+cur[0] }, '') };