(a, b)
| 1 | export function getSymmetricDifference (a, b) { |
| 2 | return [ |
| 3 | a.filter(x => !b.includes(x)), |
| 4 | b.filter(x => !a.includes(x)) |
| 5 | ] |
| 6 | } |
| 7 | |
| 8 | export function logArraysDifference (a, b) { |
| 9 | const [ aOnly, bOnly ] = getSymmetricDifference(a, b) |
no outgoing calls
no test coverage detected