// With yield*, inner and outer iterators can be invoked separately. function* g(n) { for (var i=0; i