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