docs(curry-entries): Fix typo, add missing "m"

This commit is contained in:
eslopfer 2022-08-29 12:38:42 +01:00
parent c9ee2ca990
commit 4b3b53ad11
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ mapCurry(([k, v]) => [`${k}_force`, v])(personnel)
}
```
Create `reduceCurry`, which replicates the `.reduce` method (but fro an object). The first entry is the function, and the second is the object and initial value).
Create `reduceCurry`, which replicates the `.reduce` method (but from an object). The first entry is the function, and the second is the object and initial value).
```js
reduceCurry((acc, [k, v]) => (acc += v))({ a: 1, b: 2, c: 3 }, 0)