I have an object TS_List with a key thread_ts
and an array tsColValsArray
I want to remove items where tsColValsArray[i] is part of TS_List.thread_ts
This works for the third item in the array
var TS_List1 = TS_List.filter(item => !item.thread_ts.includes(tsColValsArray[2]));
but how do I filter for all the array
I thought it would be something like
var TS_List1 = TS_List.filter(item => !item.thread_ts.includes(tsColValsArray));