mirror of https://github.com/01-edu/public.git
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.
17 lines
591 B
17 lines
591 B
5 years ago
|
## 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
|
||
|
|
||
5 years ago
|
- [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)
|