You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
## Rebecca Black
|
|
|
|
|
|
|
|
### Instructions
|
|
|
|
|
|
|
|
Create the following functions:
|
|
|
|
- `isFriday` returns true if the date is a friday
|
|
|
|
- `isWeekend` returns true if the date is a day of the weekend
|
|
|
|
- `isLeapYear` returns true if the year is a leap year
|
|
|
|
- `isLastDayOfMonth` returns true if the date is the last day of the month
|
|
|
|
|
|
|
|
|
|
|
|
### Notions
|
|
|
|
|
|
|
|
- [date-fns.org/v2.14.0/docs/isWeekend](https://date-fns.org/v2.14.0/docs/isWeekend)
|
|
|
|
- [date-fns.org/v2.14.0/docs/isAfter](https://date-fns.org/v2.14.0/docs/isAfter)
|
|
|
|
- [date-fns.org/v2.14.0/docs/isLastDayOfMonth](https://date-fns.org/v2.14.0/docs/isLastDayOfMonth)
|