Skip to content

Commit

Permalink
test: fix permanent deoptimizations
Browse files Browse the repository at this point in the history
PR-URL: #12456
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
mscdex committed Apr 30, 2017
1 parent b45abfd commit b6da225
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,8 @@ exports.allowGlobals = allowGlobals;
function leakedGlobals() {
const leaked = [];

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

Expand Down

0 comments on commit b6da225

Please sign in to comment.