Skip to content

Commit

Permalink
Merge pull request #1287 from aleen42/master
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock authored Sep 7, 2023
2 parents 44f3ce9 + 674130b commit 76416d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core-js/internals/check-correctness-of-iteration.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ try {
} catch (error) { /* empty */ }

module.exports = function (exec, SKIP_CLOSING) {
if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
try {
if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
} catch (error) { return false; } // workaround of old WebKit + `eval` bug
var ITERATION_SUPPORT = false;
try {
var object = {};
Expand Down

0 comments on commit 76416d6

Please sign in to comment.