Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
golfing solution in Clear category for Sum by Type by nicolas.tscherter
var sumByTypes = (p, l = ["", 0]) => (p.map(x => l[+(x === +x)]+=x),l)
Dec. 6, 2020
Comments: