Fix typos
This commit is contained in:
@ -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 =>
|
||||
|
||||
Reference in New Issue
Block a user