Update formatting

This commit is contained in:
Isabelle Viktoria Maciohsek
2022-01-30 12:02:34 +02:00
parent e9019d4c20
commit 6f11554999
13 changed files with 15 additions and 15 deletions

View File

@ -7,7 +7,7 @@ lastUpdated: 2020-11-02T19:40:45+02:00
Creates an array with the non-unique values filtered out.
- Use `new Set()` and the spread operator (`...`) to create an array of the unique values in `arr`.
- Use the `Set` constructor and the spread operator (`...`) to create an array of the unique values in `arr`.
- Use `Array.prototype.filter()` to create an array containing only the unique values.
```js