I have two arrays , where one of them contains integers ( array1 ) and another contains array2 Id , Description and Banners .
I need to find and remove all of the array2 elements that match every array1 integer.
I have tried to use the .find(x => x.Id === index)
function, but I did not succeed.
I'm using JavaScript
, jQuery
and KnockoutJS
.