MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / uuid

Function uuid

wxapp/txdt.js:60–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58}
59
60function uuid() {
61 return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (char) => {
62 const n = (Math.random() * 16) | 0;
63 return (char === "x" ? n : (n & 3) | 8).toString(16);
64 });
65}
66
67function sortedQuery(data) {
68 const normalized = {};

Callers 4

mapH5SignFunction · 0.70
checkinHeaderFunction · 0.70
miniLoginMethod · 0.70
queryUserMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected