Add Temporal intrinsics

This commit is contained in:
André Bargull 2025-07-07 07:01:50 +02:00 committed by Ms2ger
parent c62f9f7fba
commit d45036711c

View File

@ -361,6 +361,14 @@ const WellKnownIntrinsicObjects = [
name: "%IntlSegmentsPrototype%",
source: "Object.getPrototypeOf(new Intl.Segmenter().segment())",
},
// Extensions to well-known intrinsic objects.
//
// https://tc39.es/proposal-temporal/#sec-well-known-intrinsic-objects
{
name: "%Temporal%",
source: "Temporal",
},
];
WellKnownIntrinsicObjects.forEach((wkio) => {