public/subjects/rebecca-black/README.md

602 B

Rebecca Black

Instructions

Create the following functions which accept a Date:

  • isFriday: returns true if the Date is a Friday.
  • isWeekend: returns true if the Date is a weekend day.
  • isLeapYear: returns true if the year of the Date is a leap year.
  • isLastDayOfMonth: returns true if the Date represents the last day of the month.

Notions