14 ms·
What if you tried to sort an array of objects or functions?
by matthuggins 7y ago
What if you tried to sort an array of objects or functions?
- willtim 7y agoIf one doesn't specify a comparator and there is no obvious/sensible default, then an error would be perfectly reasonable.