i keep getting these errors in the bootcamps console.
please help me take assertion and type errors away.
getDay which can find out which day of the week a specific date was:
yearsAgo that takes in a
year and return how many years ago that year is from the current year:
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.