From 1bcfa2a2d23e4d3082cc151c208083f3c2d560d8 Mon Sep 17 00:00:00 2001 From: Graeme Yeates Date: Sun, 19 Jul 2015 23:36:26 -0400 Subject: Drop unused restParam case --- lib/async.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/async.js b/lib/async.js index f3cfb80..f13639f 100644 --- a/lib/async.js +++ b/lib/async.js @@ -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); -- cgit v1.2.1