aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/compress/arrays.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/compress/arrays.js b/test/compress/arrays.js
index 807ba206..77ef761a 100644
--- a/test/compress/arrays.js
+++ b/test/compress/arrays.js
@@ -76,6 +76,7 @@ constant_join_2: {
for_loop: {
options = {
unsafe : true,
+ unused : true,
evaluate : true,
reduce_vars : true
};
@@ -110,7 +111,7 @@ for_loop: {
function f1() {
var a = [1, 2, 3];
- for (var i = 0, len = 3; i < len; i++)
+ for (var i = 0; i < 3; i++)
console.log(a[i]);
}