JavaScript Fundamentals · JavaScript Objects, Arrays and Array Methods (map, filter, reduce)
Question 1 of 5
What does sorting [10, 9, 1, 100] with no comparator print?
console.log([10, 9, 1, 100].sort());Tip: press 1-4 to answer, Enter to continue. Finish the quiz to bank your XP.