3 ms·
The only reason I know about JS generators, and also about using them to simulate async/await, is only because I was already using JS when they were added to th
by quectophoton 3y ago
The only reason I know about JS generators, and also about using them to simulate async/await, is only because I was already using JS when they were added to the language. If that hasn't been the case, I probably wouldn't even know they existed.
I haven't used that much JS recently, but my guess is that "for await of" will make generators more widely known and used.