Remove unused case in apply.

This commit is contained in:
John-David Dalton
2015-11-16 08:16:47 -08:00
parent 4e3f3899c4
commit b89045b20f

View File

@@ -384,7 +384,6 @@
*/
function apply(func, thisArg, args) {
switch (args.length) {
case 0: return func.call(thisArg);
case 1: return func.call(thisArg, args[0]);
case 2: return func.call(thisArg, args[0], args[1]);
case 3: return func.call(thisArg, args[0], args[1], args[2]);