3 ms·Isn't it exactly the use case of generators ? I though js had the yield keyword by now.by sametmax 7y agoIsn't it exactly the use case of generators ? I though js had the yield keyword by now.