📅  最后修改于: 2022-03-11 15:02:25.602000             🧑  作者: Mango
/* unique id generator javascript */
const uuid = () => {
const head = Date.now().toString();
const tail = Math.random().toString().substr(2)
return head + tail
}
uuid();