문제 링크 : Number of Senior Citizens
/** * @param {string[]} details * @return {number} */ var countSeniors = function(details) { return details.map(e => +e.slice(11, 13)).filter(e => e>60).length };