Skip to content

Commit

Permalink
Update content/ember/v5/deprecate-array-prototype-extensions.md
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Ihmig <[email protected]>
  • Loading branch information
ef4 and simonihmig authored Jul 12, 2024
1 parent e8d01b4 commit 765a3a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/ember/v5/deprecate-array-prototype-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ someArray.uniq(); // [1, 2, 3, undefined]
After:
```js
const someArray = ['a', 'a', 'b', 'b']
[...new Set(someArray)] // ['a', 'b']
const someArray = [1, 2, 3, undefined, 3];
[...new Set(someArray)] // [1, 2, 3, undefined]
```
#### `uniqBy`
Expand Down

0 comments on commit 765a3a8

Please sign in to comment.