mirror of https://github.com/01-edu/public.git
Browse Source
"There was a mistake in the word 'teh', it should have been 'the'. I also made some improvements to the grammar."pull/1726/head
Falusvampen
2 years ago
committed by
Dav Hojt
1 changed files with 4 additions and 3 deletions
@ -1,8 +1,9 @@
|
||||
## Bloody Sunday |
||||
|
||||
### Instructions |
||||
Let's get rid of Sundays, by removing them from the calendar. So now a week is only 6 days in length, from `"Monday"` to `"Saturday"`. |
||||
|
||||
Create a function named `bloodySunday` which accepts a `Date`, and returns teh weekday as a `string`. |
||||
Let's eliminate Sundays by taking them out of the calendar, making a week only six days long, from `"Monday"` to `"Saturday"`. |
||||
|
||||
> 01/01/0001 is a Monday. |
||||
Create a function called `bloodySunday` that takes a `Date` as an argument and returns the weekday as a `string`. |
||||
|
||||
Note: 01/01/0001 is a Monday. |
||||
|
Loading…
Reference in new issue