https://netsuiteprofessionals.com logo
Title
n

NElliott

09/19/2018, 10:23 AM
@samyt it's possible with standard JS to "flatten" the two arrays if you bung them in to a single array. so you'd have new_array = [arr,arr1] then flatten new_array. Then you can reduce to remove duplicates.
s

samyt

09/19/2018, 11:54 AM
I dnt want merge two arrays . I need to check for the unique value only in second array from both array
n

NElliott

09/19/2018, 1:13 PM
Ok so you mean you want to compare arr and arr1 and return only those in arr1 that are not in arr?