mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Bump to v4.14.0.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
var baseNth = require('./_baseNth'),
|
||||
rest = require('./rest'),
|
||||
baseRest = require('./_baseRest'),
|
||||
toInteger = require('./toInteger');
|
||||
|
||||
/**
|
||||
@@ -24,7 +24,7 @@ var baseNth = require('./_baseNth'),
|
||||
*/
|
||||
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