// Personal website of Chris Smith

JavaScript » Array intersection

To find elements of arrays that contain all elements of a target:

arrays.filter(i => target.every(j => i.includes(j)))