From: Alex Lam S.L Date: Sat, 10 Jun 2017 05:55:17 +0000 (+0800) Subject: suppress false positives for-in loops (#2080) X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=5ef7cb372abf82f28d7f1b014fd0ddb2ef5bdec8;p=UglifyJS.git suppress false positives for-in loops (#2080) fixes #2079 --- 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]";',