UNPKG

@webqit/util

Version:

Utility functions used accross multiple JS libraries.

19 lines (16 loc) 268 B
/** * @imports */ import _remove from './remove.js'; /** * Removes all instances of each item. * * @param array arr * @param array itms * * @return array */ export default function(arr, ...itms) { itms.forEach(itm => _remove(arr, itm)); return arr; };