MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

uuid.min.js example

+1
+1
examples/uuid.min.js
··· 1 + function generateUUID(){const o=Ant.Crypto.randomBytes(16);o[6]=o[6]&15|64,o[8]=o[8]&63|128;const n=function(c){const t=o[c],e="0123456789abcdef",s=t>>4&15,r=t&15;return e[s]+e[r]};return n(0)+n(1)+n(2)+n(3)+"-"+n(4)+n(5)+"-"+n(6)+n(7)+"-"+n(8)+n(9)+"-"+n(10)+n(11)+n(12)+n(13)+n(14)+n(15)}console.log("builtin:",Ant.Crypto.randomUUID()),console.log("engine:",generateUUID());