Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dharmaprotocol/dharmaOS
/ getRandomArbitrary
Function
getRandomArbitrary
src/evaluate.js:235–235 ·
view source on GitHub ↗
(min, max)
Source
from the content-addressed store, hash-verified
233
const
ETHER_ADDRESS =
'0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE'
;
234
235
const
getRandomArbitrary = (min, max) => Math.random() * (max - min) + min;
236
237
const
longer = () =>
238
new
Promise((resolve) => {
Callers
1
longer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected