I need to compare two arrays here is one arrays [...showid] here is another arrays [...swipeeachotheruserId]
in this arrays ,some id will contains this ids will same but not all are same [ 3, 5 , 7 , 10 ,14 ] [ 2, 5, 7, 1, 20, 14 ]
some elements will be same but not all elements same
logic is
showid===swipeeachotheruserId ? will exclude not same id and display here : show id
how can compare and exclude this arrays values