Esthetic numbers: Difference between revisions

Content added Content deleted
(→‎{{header|JavaScript}}: Added a functionally composed variant)
Line 3,178: Line 3,178:
// An infinite sequence of numbers which
// An infinite sequence of numbers which
// are esthetic in the given base.
// are esthetic in the given base.

const f = ([, queue]) => {
const f = ([, queue]) => {
const [num, lsd] = queue[0];
const [num, lsd] = queue[0];