Skip to content
RED SAGSkills
hard20 pts · first answer countsjavascriptarraysdebugging

Comparator that returns a boolean

What does this print in Chrome or Node.js?

console.log([3, 1, 2].sort((a, b) => a > b))
Choose one answer