Skip to content

Commit

Permalink
suppress false positives for-in loops (#2080)
Browse files Browse the repository at this point in the history
fixes #2079
  • Loading branch information
alexlamsl committed Jun 10, 2017
1 parent 4ad7b1d commit 5ef7cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sandbox.js
Expand Up @@ -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]";',
Expand Down

0 comments on commit 5ef7cb3

Please sign in to comment.