mirror of https://github.com/tc39/test262.git
f0c16faee2
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. |
||
---|---|---|
.. | ||
annexB | ||
built-ins | ||
harness | ||
intl402 | ||
language | ||
staging |