JavaScript
easy
mid
What algorithm does Array.prototype.sort() use? What’s the output of [1, null, 5, 2, undefined]
What algorithm does Array.prototype.sort() use? What’s the output of [1, null, 5, 2, undefined]
3 min read·~10 min to think through
This question was imported from 80.txt and is awaiting an authored answer. Re-run the ingestion pipeline with an AI provider configured to auto-generate the deep explanation.