Open gloriaJun opened 2 years ago
const uid = () => { const val1 = Date.now().toString(36); const val2 = Math.random().toString(36).substr(2); return val1 + val2; }
const reverse = (txt) => { let text = txt; return text.split('').reverse().join(''); }
Generate Unique string key