Ranking methods: Difference between revisions
Content added Content deleted
m (→Functional ES5) |
|||
Line 801:
ns = [44, 42, 42, 41, 41, 41, 39],
sorted = xs.map(function (
return { name:
}).sort(function (a, b) {
var c = b.score - a.score;
|