Underscore.js Arrays: Union
HTML
<script src="http://documentcloud.github.com/underscore/underscore-min.js"></script>
<a target="parent" href="http://underscorejs.org/#union">Learn More</a>
JavaScript
var arr1 = ['SBO123455'];
var arr2 = ['SBO123455','SBO123456']
;
var testUnion = _.union(arr1,arr2);
//Finds all of the unique items in each of the 3 arrays
alert(testUnion)
console.log(testUnion);
//[1, 2, 3, 101, 10]