Browse Source

docs(rebecca-black): correct grammar

pull/1112/head
davhojt 2 years ago committed by Dav Hojt
parent
commit
0bd911fb63
  1. 16
      subjects/rebecca-black/README.md

16
subjects/rebecca-black/README.md

@ -2,15 +2,15 @@
### Instructions
Create the following functions:
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 day of the weekend
- `isLeapYear` returns true if the year of the date is a leap year
- `isLastDayOfMonth` returns true if the date is the last day of the month
- `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
- [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)
- [date-fns: isWeekend](https://date-fns.org/v2.14.0/docs/isWeekend)
- [date-fns: isAfter](https://date-fns.org/v2.14.0/docs/isAfter)
- [date-fns: isLastDayOfMonth](https://date-fns.org/v2.14.0/docs/isLastDayOfMonth)

Loading…
Cancel
Save