Update snippet descriptions

This commit is contained in:
Isabelle Viktoria Maciohsek
2020-10-20 23:02:01 +03:00
parent 52880f08ee
commit caa67e2a49
63 changed files with 175 additions and 126 deletions

View File

@ -13,6 +13,6 @@ const hasDuplicates = arr => new Set(arr).size !== arr.length;
```
```js
hasDuplicates([0,1,1,2]); // true
hasDuplicates([0,1,2,3,]); // false
hasDuplicates([0, 1, 1, 2]); // true
hasDuplicates([0, 1, 2, 3]); // false
```