Home Reference Source

packages/remote-environment/src/es6/GeneratorFunction.js

  1. /* eslint-disable prettier/prettier */
  2.  
  3. // eslint-disable-next-line
  4. const GeneratorFunction = (function*(){})().constructor;
  5.  
  6. export default {
  7. '(function*(){})().constructor': GeneratorFunction,
  8. '(function*(){})().constructor.constructor': GeneratorFunction.constructor,
  9. '(function*(){})().constructor.prototype': GeneratorFunction.prototype,
  10. '(function*(){})().constructor.prototype.next': GeneratorFunction.prototype.next,
  11. '(function*(){})().constructor.prototype.return': GeneratorFunction.prototype.return,
  12. '(function*(){})().constructor.prototype.throw': GeneratorFunction.prototype.throw,
  13. };