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 151 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!