재한사항
입출력 예
function solution(s) { let strLength = s.length let mid = Math.ceil(strLength/2) return strLength % 2 ? s.slice(mid -1, mid) : s.slice(mid - 1, mid + 1) }