Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/remoteintech/remote-jobs
/ random
Function
random
src/_data/helpers.js:44–49 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
42
* @returns {string} A random UUID.
43
*/
44
export
function
random() {
45
const
segment = () => {
46
return
(((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
47
};
48
return
`${segment()}-${segment()}-${segment()}`;
49
}
Callers
nothing calls this directly
Calls
1
segment
Function · 0.85
Tested by
no test coverage detected