var uniq = 'id' + (new Date()).getTime();
const uid = () => {
return Date.now().toString(36) + Math.random().toString(36).substr(2);
};
// Usage. Example, id = khhry2hb7uip12rj2iu
const id = uid();
const uniq = (str) => {
console.log(([...new Set(str)]).join(''))
}
uniq('hello')