Add prototype to descriptions

This commit is contained in:
Isabelle Viktoria Maciohsek
2020-10-20 11:21:07 +03:00
parent 920a0c390b
commit c3a2e47672
26 changed files with 26 additions and 26 deletions

View File

@ -6,7 +6,7 @@ tags: object,intermediate
Creates a new object from the specified object, where all the keys are in lowercase.
- Use `Object.keys()` and `Array.prototype.reduce()` to create a new object from the specified object.
- Convert each key in the original object to lowercase, using `String.toLowerCase()`.
- Convert each key in the original object to lowercase, using `String.prototype.toLowerCase()`.
```js
const lowercaseKeys = obj =>