Remove unneeded n validation from _.before.

This commit is contained in:
John-David Dalton
2014-07-01 12:21:11 -07:00
parent e2c6f57859
commit 5200c8d659

View File

@@ -5494,7 +5494,6 @@
if (!isFunction(func)) {
throw new TypeError(funcErrorText);
}
n = nativeIsFinite(n = +n) ? n : 0;
return function() {
if (--n > 0) {
result = func.apply(this, arguments);