mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 22:15:24 +02:00
Add Annex B intrinsics
This commit is contained in:
parent
5b249ecbbd
commit
086aab47dd
@ -293,6 +293,18 @@ const WellKnownIntrinsicObjects = [
|
||||
name: '%WrapForValidIteratorPrototype%',
|
||||
source: 'Object.getPrototypeOf(Iterator.from({ [Symbol.iterator](){ return {}; } }))',
|
||||
},
|
||||
|
||||
// Extensions to well-known intrinsic objects.
|
||||
//
|
||||
// https://tc39.es/ecma262/#sec-additional-properties-of-the-global-object
|
||||
{
|
||||
name: "%escape%",
|
||||
source: "escape",
|
||||
},
|
||||
{
|
||||
name: "%unescape%",
|
||||
source: "unescape",
|
||||
},
|
||||
];
|
||||
|
||||
WellKnownIntrinsicObjects.forEach((wkio) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user