()
| 9444 | * @returns {object} |
| 9445 | */ |
| 9446 | const getAnonymousIntrinsics= ()=> { |
| 9447 | const InertFunction= FERAL_FUNCTION.prototype.constructor; |
| 9448 | |
| 9449 | // 9.2.4.1 %ThrowTypeError% |
| 9450 | |
| 9451 | const argsCalleeDesc= getOwnPropertyDescriptor(makeArguments(), 'callee'); |
| 9452 | const ThrowTypeError= argsCalleeDesc&& argsCalleeDesc.get; |
| 9453 | |
| 9454 | // 21.1.5.2 The %StringIteratorPrototype% Object |
| 9455 | |
| 9456 | // eslint-disable-next-line no-new-wrappers |
| 9457 | const StringIteratorObject= iterateString(new String()); |
| 9458 | const StringIteratorPrototype= getPrototypeOf(StringIteratorObject); |
| 9459 | |
| 9460 | // 21.2.7.1 The %RegExpStringIteratorPrototype% Object |
| 9461 | const RegExpStringIterator= |
| 9462 | regexpPrototype[matchAllSymbol]&& matchAllRegExp(/./); |
| 9463 | const RegExpStringIteratorPrototype= |
| 9464 | RegExpStringIterator&& getPrototypeOf(RegExpStringIterator); |
| 9465 | |
| 9466 | // 22.1.5.2 The %ArrayIteratorPrototype% Object |
| 9467 | |
| 9468 | // eslint-disable-next-line no-array-constructor |
| 9469 | const ArrayIteratorObject= iterateArray([]); |
| 9470 | const ArrayIteratorPrototype= getPrototypeOf(ArrayIteratorObject); |
| 9471 | |
| 9472 | // 22.2.1 The %TypedArray% Intrinsic Object |
| 9473 | |
| 9474 | const TypedArray= getPrototypeOf(Float32Array); |
| 9475 | |
| 9476 | // 23.1.5.2 The %MapIteratorPrototype% Object |
| 9477 | |
| 9478 | const MapIteratorObject= iterateMap(new Map()); |
| 9479 | const MapIteratorPrototype= getPrototypeOf(MapIteratorObject); |
| 9480 | |
| 9481 | // 23.2.5.2 The %SetIteratorPrototype% Object |
| 9482 | |
| 9483 | const SetIteratorObject= iterateSet(new Set()); |
| 9484 | const SetIteratorPrototype= getPrototypeOf(SetIteratorObject); |
| 9485 | |
| 9486 | // 25.1.2 The %IteratorPrototype% Object |
| 9487 | |
| 9488 | const IteratorPrototype= getPrototypeOf(ArrayIteratorPrototype); |
| 9489 | |
| 9490 | // 25.2.1 The GeneratorFunction Constructor |
| 9491 | |
| 9492 | // eslint-disable-next-line no-empty-function |
| 9493 | function* GeneratorFunctionInstance() { } |
| 9494 | const GeneratorFunction= getConstructorOf(GeneratorFunctionInstance); |
| 9495 | |
| 9496 | // 25.2.3 Properties of the GeneratorFunction Prototype Object |
| 9497 | |
| 9498 | const Generator= GeneratorFunction.prototype; |
| 9499 | |
| 9500 | // 25.3.1 The AsyncGeneratorFunction Constructor |
| 9501 | |
| 9502 | // eslint-disable-next-line no-empty-function |
| 9503 | async function* AsyncGeneratorFunctionInstance() { } |
no test coverage detected