Answers for "removed duplicate iem form 2 array"

7

javascript remove duplicate in two arrays

array1 = array1.filter(function(val) {
  return array2.indexOf(val) == -1;
});
// Or, with the availability of ES6:

array1 = array1.filter(val => !array2.includes(val));
Posted by: Guest on April-27-2020
0

remove duplicate values in array angular

<option *ngFor="let i of taxlist | unique" [value]="i.tax_name {{i.tax_name}}   ( {{i.tax_percentage}}% )</option>
Posted by: Guest on November-14-2021

Code answers related to "removed duplicate iem form 2 array"

Code answers related to "Javascript"

Browse Popular Code Answers by Language