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