Updated linter to work with restructure
This commit is contained in:
@ -8,7 +8,7 @@ Create a `Set` from each array, then use `Array.filter()` on each of them to onl
|
||||
const symmetricDifference = (a, b) => {
|
||||
const sA = new Set(a), sB = new Set(b);
|
||||
return [...a.filter(x => !sB.has(x)), ...b.filter(x => !sA.has(x))];
|
||||
}
|
||||
};
|
||||
```
|
||||
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user