code: function removeFailedPredicate(predicates, items) {
  	return items.filter((_,i) => predicates[i]===true);
  }
docs: Filters a given array and removes all with a non-truthy vale in the corresponding predicate index.
  @param {Array} predicates        The predicates for each item to filter.
  @param {Array} items             The items to filter.
  @returns {Array<T>} The itmes array with all those that didn't satisfy the predicate removed.