const index = array.indexOf(item);
if (index !== -1) array.splice(index, 1);
For further actions, you may consider blocking this person and/or reporting abuse
const index = array.indexOf(item);
if (index !== -1) array.splice(index, 1);
For further actions, you may consider blocking this person and/or reporting abuse
dev.to staff -
Lou Creemers -
Zoltán Szőgyényi -
Ben Halpern -
Top comments (0)