const lg = [...Array(10000)].map((e,i) => i);
const sm_high = [7500];
const sm_low = [2500];
const sm_fail = ["FAIL"];
const sm_mid = [5000]; // this would be the most average sample
const hasIntersection = (arr1, arr2) =>
arr1.some(needle => arr2.includes(needle));
hasIntersection(lg,sm_low)
hasIntersection(lg,sm_high)
hasIntersection(lg,sm_fail)
hasIntersection(lg,sm_mid)
hasIntersection(sm_low,lg)
hasIntersection(sm_high,lg)
hasIntersection(sm_fail,lg)
hasIntersection(sm_mid,lg)