UNPKG

quxt

Version:

Lodash but OVERPOWERED!

9 lines (8 loc) 182 B
function subtract(target, ...lists) { let sub = [] for (list of lists) { sub = sub.concat(list) } return target.filter(x => !sub.includes(x)) } module.exports = subtract