frontend/.pnpm-store/v3/files/05/cfd1022a5f3f64f42d40cdc01c0bc5614a4be41363b479b9e8591c9d5f97a95c3e3feff1f1e9726dc2aa7bd461b75e2879cf9b078960f5a55f96510ab1ab84

18 lines
388 B
Plaintext

"use strict";
var indexOf = require("./e-index-of")
, forEach = Array.prototype.forEach
, splice = Array.prototype.splice;
// eslint-disable-next-line no-unused-vars
module.exports = function (itemToRemove /*, …item*/) {
forEach.call(
arguments,
function (item) {
var index = indexOf.call(this, item);
if (index !== -1) splice.call(this, index, 1);
},
this
);
};