I have three arrays:
arr1=["14","16","1"]— where I am selectingarr2=["14"]— where I am comparing my selection fromarr1arr3=[]— where I am pushing the value.
How will I be able to check if my selection does not exist in arr2?
For example I selected 14 from arr1, since it is already existing in arr2, the button will be disabled and should not be pushed in arr3.