remove duplicates in array using javascript

welcome to shbcf.ru