Web development · Arrays and objects

sort and reduce

A leaderboard needs scores in order and a receipt needs a total, and both go wrong in ways that print no error.