Generator ID yang unik

/* unique id generator javascript */

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

uuid();
wardvisual