Array diff - decision on JavaScript return to task const arrayDiff = (a, b) => a.filter(x => !b.includes(x))