mirror of
https://github.com/tc39/test262.git
synced 2025-07-08 22:54:43 +02:00
Two issues: 1. There was a typo, the first `gen` should have been `genFn`. 2. And the last `toString` result should be `'[object Generator]'`, because `Object.getPrototypeOf(gen) == genFn.prototype`. And the `@@toStringTag` property of `genFn.prototype` is inherited from `Generator.prototype[@@toStringTag]`. That also means the "iterator-helpers" flag isn't needed for this test.