const uuid = (() => { const s4 = () => (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1); return () => `${s4()}${s4()}-${s4()}-${s4()}-${s4()}-${s4()}${s4()}${s4()}`; })();
js生成伪GUID
原文:https://www.cnblogs.com/zh33gl/p/14302190.html