Remove a specific item from an array using ES6 array.filter() method

preview_player
Показать описание


Old way: Earlier the approach was to find the index of the array element you want to remove using indexOf, and then remove that index with splice.
Рекомендации по теме
Комментарии
Автор

This is very helpful working this but I want to remove from Dom also

milindkhadse
visit shbcf.ru