This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const module = { exports: {} }; | |
let exports = module.exports; | |
const GeneratorFunction = function*(){}.constructor; | |
const iteratorSymbol = (typeof Symbol === "function" && Symbol.iterator) || "@@iterator"; | |
const MISSING = {}; | |
/** | |
* A generator function is always called as a constructor. If multiple | |
* generators share the same prototype, and you put generators on that shared |