delete(array, value) {
const index = array.indexOf(value);
return [...array.slice(0, index), ...array.slice(index + 1)]
}
For further actions, you may consider blocking this person and/or reporting abuse
delete(array, value) {
const index = array.indexOf(value);
return [...array.slice(0, index), ...array.slice(index + 1)]
}
For further actions, you may consider blocking this person and/or reporting abuse
Arkadipta kundu -
kvetoslavnovak -
Ajmal Hasan -
Ajmal Hasan -
Top comments (0)