Update formatting

This commit is contained in:
Isabelle Viktoria Maciohsek
2022-01-30 18:27:55 +02:00
parent c08892459a
commit 9cb319d726
6 changed files with 8 additions and 8 deletions

View File

@ -8,7 +8,7 @@ lastUpdated: 2020-09-15T16:28:04+03:00
Deep maps an object's keys.
- Creates an object with the same values as the provided object and keys generated by running the provided function for each key.
- Use `Object.keys(obj)` to iterate over the object's keys.
- Use `Object.keys()` to iterate over the object's keys.
- Use `Array.prototype.reduce()` to create a new object with the same values and mapped keys using `fn`.
```js