intersect.js 214 Bytes Raw Blame History Permalink 1 2 3 4 5 6 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function intersect(arrayA = [], arrayB = []) { return arrayA.filter((item) => arrayB.includes(item)); } exports.default = intersect;