rmDuplicate Removes duplicate values from an array var arr = [1,3,2,3,3];arr = rmDuplicate(arr); //arr becomes [1,2,3]