JS ES6 Generators introduction