typo at objectToPairs & add test
This commit is contained in:
@ -9,5 +9,5 @@ const objectToPairs = obj => Object.keys(obj).map(k => [k, obj[k]]);
|
||||
```
|
||||
|
||||
```js
|
||||
objectToPairs({ a: 1, b: 2 }); // [['a',1],['b',2]])
|
||||
objectToPairs({ a: 1, b: 2 }); // [['a',1],['b',2]]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user