mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Bump to v4.14.0.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import baseNth from './_baseNth.js';
|
||||
import rest from './rest.js';
|
||||
import baseRest from './_baseRest.js';
|
||||
import toInteger from './toInteger.js';
|
||||
|
||||
/**
|
||||
@@ -24,7 +24,7 @@ import toInteger from './toInteger.js';
|
||||
*/
|
||||
function nthArg(n) {
|
||||
n = toInteger(n);
|
||||
return rest(function(args) {
|
||||
return baseRest(function(args) {
|
||||
return baseNth(args, n);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user