Fix intrinsic source for AsyncIteratorPrototype and RegExpStringIteratorPrototype

This commit is contained in:
André Bargull 2025-07-07 06:58:50 +02:00 committed by Ms2ger
parent 416b061eba
commit 5b249ecbbd

View File

@ -42,7 +42,7 @@ const WellKnownIntrinsicObjects = [
},
{
name: '%AsyncIteratorPrototype%',
source: '((async function * () {})())[Symbol.asyncIterator]()',
source: 'Object.getPrototypeOf(Object.getPrototypeOf(async function* () {}).prototype)',
},
{
name: '%Atomics%',
@ -215,7 +215,7 @@ const WellKnownIntrinsicObjects = [
},
{
name: '%RegExpStringIteratorPrototype%',
source: 'RegExp.prototype[Symbol.matchAll]("")',
source: 'Object.getPrototypeOf(RegExp.prototype[Symbol.matchAll](""))',
},
{
name: '%Set%',