How to .take(advantage) of JS generators.next() features

How to .take(advantage) of JS generators.next() features