Skip to content

Commit e278fdd

Browse files
authored
Update array_strings_2.js
1 parent cb845aa commit e278fdd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

array_strings_2.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,12 @@ The letter is shifted for as many values as the value of the key.
5050
5. Write down a function which will print the number of the rest seconds untill the current day's end.
5151
Example: if current time is 23:59:45 function should print 15
5252
Example: if current time is 23:50:45 function should print 555
53+
54+
---------------
55+
56+
6. Write down a function which will print week day based on provided day.
57+
Input: "2019/10/14"
58+
Output: "Monday"
59+
60+
Input: "2014/09/12"
61+
Output: "Friday"

0 commit comments

Comments
 (0)