mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
bugfixed in zip & concat funcs (#2971)
This commit is contained in:
committed by
John-David Dalton
parent
ac53cc7d69
commit
9d445ec238
@@ -23,7 +23,7 @@ import copyArray from './.internal/copyArray.js';
|
||||
* // => [1]
|
||||
*/
|
||||
function concat(array, ...values) {
|
||||
return arrayPush(Array.isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));
|
||||
return arrayPush(Array.isArray(array) ? copyArray(array) : [array], baseFlatten(values, 1));
|
||||
}
|
||||
|
||||
export default concat;
|
||||
|
||||
Reference in New Issue
Block a user