Fix snippets typos

This commit is contained in:
Schneider
2019-04-08 11:21:59 -03:00
parent cf684410f3
commit 4b37bf6ef5
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
Returns all unique values of an array, based on a provided comparator function.
Use `Array.prototype.reduce()` and `Array.prototype.some()` for an array containing only the last unique occurence of each value, based on the comparator function, `fn`.
Use `Array.prototype.reduce()` and `Array.prototype.some()` for an array containing only the last unique occurrence of each value, based on the comparator function, `fn`.
The comparator function takes two arguments: the values of the two elements being compared.
```js