結果 : how to remove duplicate characters in a string javascript