For more than a year, I’ve been sharing tips and tricks

Remove duplicates from array Explanation The simplest way to remove duplicates from an array,is to use the Set constructor to create a new set object containingunique values (of any kind). In other words, Set will automatically remove duplicatesfor us, and by spreading it into a new array, we can create a newarray without duplicates. ................
................