when i try to write a generator function in Repl, i get Error telling me that RegeneratorRuntime is not defined. Try it here: https://goo.gl/pwSSDJ
i think if the repl not include RegeneratorRuntime code, then the best thing to do is just leave the generator function as-is, ie don't transpile it to RegeneratorRuntime.