Remove Duplicates from Array in CoffeeScript
Problem You have an array in CoffeeScript, which contains equal elements multiple times such as: [1,1,2,3,3] You would like to have only unique values in the array. Thus, transform it into: [1,2,3] Solution You can use the following method to accomplish such: removeDuplicates = (ar)