Skip to content

Commit 875c6fb

Browse files
mscdexevanlucas
authored andcommitted
test: fix permanent deoptimizations
PR-URL: #12456 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent d411dd0 commit 875c6fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/common.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,8 @@ exports.allowGlobals = allowGlobals;
358358
function leakedGlobals() {
359359
const leaked = [];
360360

361-
for (const val in global)
361+
// eslint-disable-next-line no-var
362+
for (var val in global)
362363
if (!knownGlobals.includes(global[val]))
363364
leaked.push(val);
364365

0 commit comments

Comments
 (0)