Answers for "how to get distinct data in two array in javascript"

1

find unique values between multiple array

var array3 = array1.filter(function(obj) { return array2.indexOf(obj) == -1; });
Posted by: Guest on May-01-2020

Code answers related to "how to get distinct data in two array in javascript"

Browse Popular Code Answers by Language