1234567891011121314151617181920212223242526272829303132 |
- import baseNth from './_baseNth.js';
- import baseRest from './_baseRest.js';
- import toInteger from './toInteger.js';
- function nthArg(n) {
- n = toInteger(n);
- return baseRest(function(args) {
- return baseNth(args, n);
- });
- }
- export default nthArg;
|