Skip to content
RED SAGSkills
easy5 pts · first answer countssorting-and-searchingjavascript

JavaScript default sort on numbers

What does this JavaScript code print?

const marks = [10, 9, 1, 100]
marks.sort()
console.log(marks)
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions