From 5ef7cb372abf82f28d7f1b014fd0ddb2ef5bdec8 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sat, 10 Jun 2017 13:55:17 +0800 Subject: [PATCH] suppress false positives for-in loops (#2080) fixes #2079 --- test/sandbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sandbox.js b/test/sandbox.js index cb1e18c9..fe2e588e 100644 --- a/test/sandbox.js +++ b/test/sandbox.js @@ -19,7 +19,7 @@ function safe_log(arg, level) { var FUNC_TOSTRING = [ "Function.prototype.toString = Function.prototype.valueOf = function() {", - " var id = 0;", + " var id = 100000;", " return function() {", ' if (this === Array) return "[Function: Array]";', ' if (this === Object) return "[Function: Object]";', -- 2.34.1