Quiz Question 1 of 5
After the code below runs, what value is stored in the variable dayOfWeek
:
function getDay() {
return "Monday";
alert("Calculating day");
return "Friday";
}
const dayOfWeek = getDay();
Choose the correct answer below:
Quizzes are the best way to test your knowlege. Sign up for Treehouse today and prove yourself. We guarantee 100% satisfaction.