If I have a line like:
yield* foo()
Can I replace it with something with a melody:
while(true) { var x = foo.next(); if(x.done) break; yield x; }
Clearly this is more verbose, but I'm trying to figure out if yield * is just syntactic sugar, or if there is some kind of semantic aspect that I don't understand about.
source share