UNPKG

@animech-public/playcanvas

Version:
2 lines (1 loc) 167 B
const x={create:()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(x=>{const t=16*Math.random()|0;return("x"===x?t:3&t|8).toString(16)}))};export{x as guid};