Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Javascript's sort() function sorts lexically and thus will not sort numbers correctly without a comparator function. Reduce/fold is the proper way to find a minimum or maximum.
- Loading branch information