Multiple ChoiceIntermediate 30s
Array sort
Choose the best answer for: sort behavior
Options
- 1sort() converts elements to strings for comparison by default
- 2sort() is guaranteed stable across every JavaScript engine
- 3sort() performs a numeric sort by default without a comparator
- 4sort() creates a new sorted array and leaves the original alone
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.