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.
10 lines
303 B
10 lines
303 B
2 years ago
|
## Sunny Sunday
|
||
4 years ago
|
|
||
|
### Instructions
|
||
|
|
||
2 years ago
|
Let's eliminate Sundays by taking them out of the calendar, making a week only six days long, from `"Monday"` to `"Saturday"`.
|
||
4 years ago
|
|
||
2 years ago
|
Create a function called `sunnySunday` that takes a `Date` as an argument and returns the weekday as a `string`.
|
||
2 years ago
|
|
||
2 years ago
|
> 01/01/0001 is a Monday.
|