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 85d924a00..63b6730db 100644
--- a/core/00_primordials.js
+++ b/core/00_primordials.js
@@ -167,6 +167,9 @@
primordials[name] = globalThis[name];
});
+ // Create copy of isNaN
+ primordials[isNaN.name] = isNaN;
+
// Create copies of URI handling functions
[
decodeURI,
diff --git a/core/internal.d.ts b/core/internal.d.ts
index 5586ad49b..cd1e51eee 100644
--- a/core/internal.d.ts
+++ b/core/internal.d.ts
@@ -68,6 +68,7 @@ declare namespace __bootstrap {
safe: T,
): T;
+ export const isNaN: typeof globalThis.isNaN;
export const decodeURI: typeof globalThis.decodeURI;
export const decodeURIComponent: typeof globalThis.decodeURIComponent;
export const encodeURI: typeof globalThis.encodeURI;