highlevel interview question

remove duplicates from string using js