2 posts tagged with "generators"

    generator-yields

    2022-11-28

     | 

    ~1 min read

     | 

    19 words

    yield* vs yield - if fn returns a generator/array/enumerable, the yield* will flatten the response. conceptually similar a flatMap.

    javascript generators for conditional lists

    2022-11-28

     | 

    ~4 min read

     | 

    619 words

    Generators are a language feature that I don’t see used very commonly - at least in Javascript land (I remember going to a php user group…

Return to all tags