Update array-zip.md
This commit is contained in:
@ -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]]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user