lodash: Avoid extraneous empty array in pick. [jddalton]

Former-commit-id: 581eb1264aed6f0904d794cad53462ae80a1c3d0
This commit is contained in:
John-David Dalton
2012-04-30 23:26:12 -04:00
parent 464826e81d
commit 0b404d4bb1

View File

@@ -2280,7 +2280,7 @@
function pick(object) {
var prop,
index = 0,
props = concat.apply([], arguments),
props = concat.apply(ArrayProto, arguments),
length = props.length,
result = {};