Snippet format update
To match the starter (for the migration)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
### unflattenObject
|
||||
---
|
||||
title: unflattenObject
|
||||
tags: object,advanced
|
||||
---
|
||||
|
||||
Unflatten an object with the paths for keys.
|
||||
|
||||
@ -27,4 +30,4 @@ const unflattenObject = obj =>
|
||||
|
||||
```js
|
||||
unflattenObject({ 'a.b.c': 1, d: 1 }); // { a: { b: { c: 1 } }, d: 1 }
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user