intersect.js 214 Bytes
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function intersect(arrayA = [], arrayB = []) {
    return arrayA.filter((item) => arrayB.includes(item));
}
exports.default = intersect;