Working with JavaScript Date
Easy
8
77.2% Acceptance
In this lab, you are going to work with JavaScript Date objects. You will create a currentDate
variable which contains the current datetime, and you will also calculate the day of the week with the help of currentDate
, and store it in a variable named dayOfWeek
. You have to use the ESM module syntax for exporting variables.