You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have a conflict between regenerator and the way Iterator is polyfilled that I mentioned on regenerator's repo: facebook/regenerator#320.
The problem is regenerator uses IteratorPrototype for its GeneratorFunction, and it crashes when it tries to write on GeneratorFunction.prototype.toStringTag which is not writable.
Hello,
I have a conflict between regenerator and the way Iterator is polyfilled that I mentioned on regenerator's repo: facebook/regenerator#320.
The problem is regenerator uses
IteratorPrototype
for itsGeneratorFunction
, and it crashes when it tries to write onGeneratorFunction.prototype.toStringTag
which is not writable.The spec mentions no
toStringTag
property forIteratorPrototype
:https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object
Is it possible to remove
toStringTag
fromIteratorPrototype
?The text was updated successfully, but these errors were encountered: