Fix typos

This commit is contained in:
Chalarangelo
2022-09-04 14:17:13 +03:00
parent 7f73863f08
commit 527d9eb2e9

View File

@ -10,7 +10,7 @@ firstSeen: 2021-08-01T05:00:00-04:00
Creates a new object, converting each key to a `Symbol`.
- Use `Object.keys()` to get the keys of `obj`.
- Use `Array.prototype.reduce()` and `Symbol()` to create a new object where each key is converted to a `Symbol`.
- Use `Array.prototype.reduce()` and `Symbol` to create a new object where each key is converted to a `Symbol`.
```js
const symbolizeKeys = obj =>