I have 2 simple arrays that need to be combined and sorted, easy enough. But then duplicates need to be removed.
oldProgrammers = new Array('Rob', 'Neek', 'Lisa', 'Susan');
newProgrammers = new Array('Brett', 'John', 'Tom', 'Lisa');
allProgrammers = oldProgrammers.concat(newProgrammers).sort();
allProgrammers.forEach(function(arrEl){
alert(arrEl);
})
am clueless how this can be done?!