Snippet format update
To match the starter (for the migration)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
### unzip
|
||||
---
|
||||
title: unzip
|
||||
tags: array,intermediate
|
||||
---
|
||||
|
||||
Creates an array of arrays, ungrouping the elements in an array produced by [zip](#zip).
|
||||
|
||||
@ -18,4 +21,4 @@ const unzip = arr =>
|
||||
```js
|
||||
unzip([['a', 1, true], ['b', 2, false]]); // [['a', 'b'], [1, 2], [true, false]]
|
||||
unzip([['a', 1, true], ['b', 2]]); // [['a', 'b'], [1, 2], [true]]
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user