From 674130b2c081e7ea1b4a2b9f081a2e4b7daef56b Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Thu, 7 Sep 2023 19:25:35 +0700 Subject: [PATCH] Update packages/core-js/internals/check-correctness-of-iteration.js --- packages/core-js/internals/check-correctness-of-iteration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core-js/internals/check-correctness-of-iteration.js b/packages/core-js/internals/check-correctness-of-iteration.js index abb6c0ce7699..ee9f0922abb1 100644 --- a/packages/core-js/internals/check-correctness-of-iteration.js +++ b/packages/core-js/internals/check-correctness-of-iteration.js @@ -24,7 +24,7 @@ try { module.exports = function (exec, SKIP_CLOSING) { try { if (!SKIP_CLOSING && !SAFE_CLOSING) return false; - } catch (error) { return false; } // it is not safe when the `SAFE_CLOSING` is not in the current scope + } catch (error) { return false; } // workaround of old WebKit + `eval` bug var ITERATION_SUPPORT = false; try { var object = {};