Travis build: 1666

This commit is contained in:
30secondsofcode
2019-12-31 09:38:53 +00:00
parent 21b0ab5c65
commit 2344523e5b
15 changed files with 93 additions and 97 deletions

View File

@ -10,7 +10,6 @@ Use `Object.keys(obj)` 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
const deepMapKeys = (obj, f) =>
Array.isArray(obj)
? obj.map(val => deepMapKeys(val, f))