Update array-zip.md

This commit is contained in:
taltmann42
2017-12-14 23:56:51 +01:00
committed by GitHub
parent ad86ce4047
commit 74b5a78f2b

View File

@ -13,5 +13,5 @@ const zip = (...arrays) => {
}
//zip(['a', 'b'], [1, 2], [true, false]); -> [['a', 1, true], ['b', 2, false]]
zip(['a'], [1, 2], [true, false]); -> [['a', 1, true], [undefined, 2, false]]
//zip(['a'], [1, 2], [true, false]); -> [['a', 1, true], [undefined, 2, false]]
```