nthArg
Creates a function that gets the argument at index n
.
- Use
Array.prototype.slice()
to get the desired argument at indexn
. - If
n
is negative, the nth argument from the end is returned.
Creates a function that gets the argument at index n
.
Array.prototype.slice()
to get the desired argument at index n
.n
is negative, the nth argument from the end is returned.