const remove = (arr, item) => {
const i = arr.indexOf(item);
if (i >= 0) arr.splice(i, 1);
};
174900cookie-checkJavascript: Remove item from array
const remove = (arr, item) => {
const i = arr.indexOf(item);
if (i >= 0) arr.splice(i, 1);
};