Date
new Date(연, 월, 일)
0
11
getDay()
function solution(a, b) { const days = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT']; const date = new Date(2016, a - 1, b); return days[date.getDay()]; }