how to remove duplicates from an array in javascript

join shbcf.ru