The Single Biggest Mistake Programmers Make Every Day
Eric Elliott
2.1K25

KISS :)

function* increment(){ var index = 0; while(true) yield index++;}
var inc = increment();
inc.next();

:)