(a, f)
| 66 | } |
| 67 | |
| 68 | const avg = (a, f) => a.length ? a.reduce((s, x) => s + (f(x) || 0), 0) / a.length : 0; |
| 69 | const k = (n) => (n / 1000).toFixed(1); |
| 70 | const pad = (s, n) => String(s).padEnd(n); |
| 71 | const ARMS = ['A', 'H', 'I', 'B', 'F', 'G', 'C', 'D', 'E']; |