JS 浏览器上生成 UUID API

console.log( window.crypto.randomUUID() )

See also:

原文地址:https://www.cnblogs.com/ajanuw/p/15086012.html