Category Archives: Helper Function of the Month

JavaScript : Helper Function of the Month! Remove Duplicates from Array

May have run into a problem where you need to remove duplicates from an array. It is usually a good idea not to mess with the base JavaScript objects but I like to add functionality that I believe should already be part of the the base JavaScript object. Today I am going to talk about JavaScript Arrays! How handy would it be to call myArray.removeDuplicates(). Some of you may think this method name is to long but I like to name methods with the functionality they perform. So lets get started with the code.
Continue reading