public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ad7b1d
)
suppress false positives for-in loops (#2080)
author
Alex Lam S.L
<alexlamsl@gmail.com>
Sat, 10 Jun 2017 05:55:17 +0000
(13:55 +0800)
committer
GitHub
<noreply@github.com>
Sat, 10 Jun 2017 05:55:17 +0000
(13:55 +0800)
fixes #2079
test/sandbox.js
patch
|
blob
|
history
diff --git
a/test/sandbox.js
b/test/sandbox.js
index
cb1e18c
..
fe2e588
100644
(file)
--- 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 =
10000
0;",
" return function() {",
' if (this === Array) return "[Function: Array]";',
' if (this === Object) return "[Function: Object]";',