UNPKG

ottoman

Version:
7 lines 324 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.arrayDiff = void 0; // Returns the elements of arr1 that do not exist in arr2 const arrayDiff = (arr1, arr2) => arr1.filter((item) => !arr2.find((ref) => ref === item)); exports.arrayDiff = arrayDiff; //# sourceMappingURL=array-diff.js.map