Sum of first n cubes: Difference between revisions
→{{header|JavaScript}}: Replaced a more general maximum with Math.max and a spread operator.
Not a robot (talk | contribs) (Add Comal) |
(→{{header|JavaScript}}: Replaced a more general maximum with Math.max and a spread operator.) |
||
Line 1,225:
s.padStart(n, c)
) : "";
ys.slice(1).reduce(▼
y▼
Line 1,251 ⟶ 1,238:
const
colWidths = transpose(rows).map(
row =>
);
|