i keep getting these errors in the bootcamps console.
please help me take assertion and type errors away.
function called getDay
which can find out which day of the week a specific date was:
function called yearsAgo
that takes in a year
and return how many years ago that year is from the current year:
function called sameWeekday
that takes in two dates and check if both dates have the same weekday:
this code works in the browsers console but in the bootcamps console. It is giving the desired answers in all 3 images but im still getting errors.