mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Remove args var from _.at.
This commit is contained in:
@@ -3611,9 +3611,8 @@
|
|||||||
* // => ['fred', 'pebbles']
|
* // => ['fred', 'pebbles']
|
||||||
*/
|
*/
|
||||||
function at(collection) {
|
function at(collection) {
|
||||||
var args = arguments,
|
var index = -1,
|
||||||
index = -1,
|
props = baseFlatten(arguments, true, false, 1),
|
||||||
props = baseFlatten(args, true, false, 1),
|
|
||||||
length = props.length;
|
length = props.length;
|
||||||
|
|
||||||
if (support.unindexedChars && isString(collection)) {
|
if (support.unindexedChars && isString(collection)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user