Javascript – How to search data inside two different array and copy the matching data into new array in Angular 8
I have array1 and array2 in below data.i wanted to iterate all factoryId of array1 and need to check if same factoryid is present in array2. if factoryId of array1 is matching with array2 factoryId , than i wanted to…