Update array-zip.md

This commit is contained in:
taltmann42
2017-12-14 23:56:51 +01:00
committed by GitHub
parent 1d4951e73f
commit a4c7673ec2

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]]
```