FrontendInterviews.dev

617. Default Array.sort Behavior

Easy•

Predict the output.

console.log([10, 2, 1].sort())

What is the correct output/behavior?

Select an option and submit your answer.
Next Problem