Discards values at given indices.
Alternatives: reject, reject$, rejectAt.
Similar: map, filter, reject, reduce, accumulate.
This is part of package extra-array.
This is browserified, minified version of @extra-array/reject-at.
It is exported as global variable array_rejectAt.
CDN: unpkg, jsDelivr.
array.rejectAt(x, is);
// x: an array
// is: indices
const array = require("extra-array");
var x = [2, 4, 6, 8];
array.rejectAt(x, [1, 2]);
// [ 2, 8 ]
array.rejectAt(x, [1, 3]);
// [ 2, 6 ]