cara mendapatkan elemen 5 string pertikular dari 10 dari array javascript
const items = ['a', 'b', 'c', 'd', 'e', 'f']
const valuesToRemove = ['c', 'd']
const filteredItems = items.filter(item => valuesToRemove.includes(item))
// ["a", "b", "e", "f"]
console.log(filteredItems)
Delightful Dragonfly