how to get unique values based on condition in javascript array code example
Example: find unique values between multiple array
var array3 = array1.filter(function(obj) { return array2.indexOf(obj) == -1; });
var array3 = array1.filter(function(obj) { return array2.indexOf(obj) == -1; });