Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/getsentry/sentry-javascript
/ getRandomByte
Function
getRandomByte
packages/core/src/utils/misc.ts:27–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
let
emptyUuid: string | undefined;
26
27
function
getRandomByte(): number {
28
return
safeMathRandom() * 16;
29
}
30
31
/**
32
* UUID4 generator
Callers
1
uuid4
Function · 0.85
Calls
1
safeMathRandom
Function · 0.90
Tested by
no test coverage detected