RegeneratorRuntime is not defined
syaiful6 opened this issue · comments
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.
Oh, good catch - I suppose we could do something like feature detect for the availability of generators and conditionally load the RegeneratorRuntime
.