aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-06-10 13:55:17 +0800
committerGitHub <noreply@github.com>2017-06-10 13:55:17 +0800
commit5ef7cb372abf82f28d7f1b014fd0ddb2ef5bdec8 (patch)
tree9822cf265d9f275943d3818eb162e49faf2526ea
parent4ad7b1dae46fb5bf98f12859b2906381421563d4 (diff)
downloadtracifyjs-5ef7cb372abf82f28d7f1b014fd0ddb2ef5bdec8.tar.gz
tracifyjs-5ef7cb372abf82f28d7f1b014fd0ddb2ef5bdec8.zip
suppress false positives for-in loops (#2080)
fixes #2079
-rw-r--r--test/sandbox.js2
1 files changed, 1 insertions, 1 deletions
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]";',