Improv filterNonUniqueBy example

This commit is contained in:
Isabelle Viktoria Maciohsek
2020-11-02 19:40:27 +02:00
parent 0ba944aa66
commit 652cf52889

View File

@ -22,6 +22,6 @@ filterNonUniqueBy(
{ id: 1, value: 'd' },
{ id: 0, value: 'e' }
],
(a, b) => a.id == b.id
(a, b) => a.id === b.id
); // [ { id: 2, value: 'c' } ]
```