I’m trying to wrap my head around JavaScript generators.
One article that helped me to grasp its concepts is JavaScript Getter-Setter Pyramid by André Staltz.
Another valuable resource is the chapter on generators in the book JavaScript for impatient programmers.