Snippet format update
To match the starter (for the migration)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
### transform
|
||||
---
|
||||
title: transform
|
||||
tags: object,array,intermediate
|
||||
---
|
||||
|
||||
Applies a function against an accumulator and each key in the object (from left to right).
|
||||
|
||||
@ -17,4 +20,4 @@ transform(
|
||||
},
|
||||
{}
|
||||
); // { '1': ['a', 'c'], '2': ['b'] }
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user