How to remove duplicates from an array in javascript

welcome to shbcf.ru