mishoo/UglifyJS — pull request #285 by ikokostya (2011-12-25 15:38:28+00:00)
Title: Discard all unused function arguments with --lift-vars.

Example:

```javascript
function f(a, b, c, d, e) {
for (var i = 1; i < 10; ++i) {
var boo = foo();
}
for (var i = 0; i < 1; ++i) {
var boo = bar(c);
}
function foo() { }
function bar() { }
function baz() { }
}
```

transform to:

```javascript
function f(c) {
var i, boo;
for (i = 1; i < 10; ++i) {
boo = foo();
}
for (i = 0; i < 1; ++i) {
boo = bar(c);
}
function foo() {}
function bar() {}
}
```