Snippet format update
To match the starter (for the migration)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
### symmetricDifferenceWith
|
||||
---
|
||||
title: symmetricDifferenceWith
|
||||
tags: array,function,intermediate
|
||||
---
|
||||
|
||||
Returns the symmetric difference between two arrays, using a provided function as a comparator.
|
||||
|
||||
@ -17,4 +20,4 @@ symmetricDifferenceWith(
|
||||
[1.9, 3, 0, 3.9],
|
||||
(a, b) => Math.round(a) === Math.round(b)
|
||||
); // [1, 1.2, 3.9]
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user