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 authored and evanlucas committed May 2, 2017
1 parent d411dd0 commit 875c6fb
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 @@ -358,7 +358,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 875c6fb

Please sign in to comment.