Skip to content

Commit

Permalink
Drop unused restParam case
Browse files Browse the repository at this point in the history
  • Loading branch information
megawac committed Jul 20, 2015
1 parent f7edbd5 commit 1bcfa2a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/async.js
Expand Up @@ -165,7 +165,6 @@
switch (startIndex) {
case 0: return func.call(this, rest);
case 1: return func.call(this, arguments[0], rest);
case 2: return func.call(this, arguments[0], arguments[1], rest);
}
// Currently unused but handle cases outside of the switch statement:
// var args = Array(startIndex + 1);
Expand Down

0 comments on commit 1bcfa2a

Please sign in to comment.