bugfixed in zip & concat funcs (#2971)

This commit is contained in:
ecmadao
2017-02-04 01:55:33 +08:00
committed by John-David Dalton
parent ac53cc7d69
commit 9d445ec238
2 changed files with 2 additions and 2 deletions

View File

@@ -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;