📜  javascript uuid 生成器 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:43.180000             🧑  作者: Mango

代码示例5
/* unique id generator javascript */

const uuid = () => {
  const head = Date.now().toString();
  const tail = Math.random().toString().substr(2)
  
  return head + tail
}

uuid();