3 ms·
The numerical sorting on the page goes 0.25, 0.15, 0.13, 0.8. This is a friendly reminder that in JS the sort() function should always be given a comparator fun
by Lalabadie 3y ago
The numerical sorting on the page goes 0.25, 0.15, 0.13, 0.8. This is a friendly reminder that in JS the sort() function should always be given a comparator function.