const uuid = (Math.random() + 1).toString(36).substring(2);
console.log(uuid);
const unique = (str) => {
const cleanStr = str.replace(/ /gi, '');
const set = [...new Set(cleanStr)];
return set;
}
console.log(unique('asdqwe asdqwet dfadqwre '));
const uniq = (str) => {
console.log(([...new Set(str)]).join(''))
}
uniq('hello')