Clever Removal of Duplicates from Arrays
Removing duplicates is one of those things we need to do somewhat frequently but we also want to make sure we do it efficiently. Doing it by hand can easily lead to inscrutable code and a lurking performance issue. Typically, in JavaScript we’ll be removing…