Issue 6662: console.log on generator object resumes it until it ends

https://code.google.com/p/fbug/issues/detail?id=6662