From 803c995f710486db305a49e4b863d1d6cac82efd Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Thu, 21 Apr 2022 20:11:01 +0700 Subject: [PATCH] fix `URLSearchParams` in IE8- that was broken in the previous release --- CHANGELOG.md | 1 + packages/core-js/modules/web.url-search-params.constructor.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e0593f8da2a..340715b808c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## Changelog ##### Unreleased +- Fixed `URLSearchParams` in IE8- that was broken in the previous release - Fixed `__lookupGetter__` entries ##### 3.22.1 - 2022.04.20 diff --git a/packages/core-js/modules/web.url-search-params.constructor.js b/packages/core-js/modules/web.url-search-params.constructor.js index 00c390a7bd90..49da5cfb6cff 100644 --- a/packages/core-js/modules/web.url-search-params.constructor.js +++ b/packages/core-js/modules/web.url-search-params.constructor.js @@ -39,7 +39,7 @@ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // Avoid NodeJS experimental warning var safeGetBuiltIn = function (name) { - if (!DESCRIPTORS) return global(name); + if (!DESCRIPTORS) return global[name]; var descriptor = getOwnPropertyDescriptor(global, name); return descriptor && descriptor.value; };