9 billion names of God the integer: Difference between revisions
9 billion names of God the integer (view source)
Revision as of 17:52, 18 January 2021
, 3 years ago→{{header|JavaScript}}: fixed nonsense/untested code...
Thundergnat (talk | contribs) m (→{{header|GAP}}: Regularize non-standard header markup) |
(→{{header|JavaScript}}: fixed nonsense/untested code...) |
||
Line 2,167:
}
// PL clearly this was not tested:
// console.log("Sums")[23, 123, 1234, 12345].foreach(function (a) {
console.log("Sums");
[23, 123, 1234, 12345].forEach(function (a) {
var s = cumu(a);
console.log(a, s[s.length - 1]);
|