Question from the Javascript - Fundamentals test

Sort an array of strings in Javascript

Easy

What does the following code display?

const week = ["Thursday", "Friday", "Tuesday", "Saturday"]; 
week.sort(); 
console.log(week);
Author: KahinaStatus: Published(Update)Question passed 229 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!