summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/00_primordials.js3
-rw-r--r--core/internal.d.ts1
2 files changed, 4 insertions, 0 deletions
diff --git a/core/00_primordials.js b/core/00_primordials.js
index 63b6730db..c6132620e 100644
--- a/core/00_primordials.js
+++ b/core/00_primordials.js
@@ -170,6 +170,9 @@
// Create copy of isNaN
primordials[isNaN.name] = isNaN;
+ // Create copy of queueMicrotask
+ primordials["queueMicrotask"] = queueMicrotask;
+
// Create copies of URI handling functions
[
decodeURI,
diff --git a/core/internal.d.ts b/core/internal.d.ts
index 8e52f4bf1..e582eb359 100644
--- a/core/internal.d.ts
+++ b/core/internal.d.ts
@@ -632,6 +632,7 @@ declare namespace __bootstrap {
export const ObjectPrototypeToLocaleString: UncurryThis<
typeof Object.prototype.toLocaleString
>;
+ export const queueMicrotask: typeof globalThis.queueMicrotask;
export const RangeError: typeof globalThis.RangeError;
export const RangeErrorLength: typeof RangeError.length;
export const RangeErrorName: typeof RangeError.name;