Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anyehttp/quantumult-x
/ randomInt
Function
randomInt
task/oly.js:254–256 ·
view source on GitHub ↗
* 随机整数生成
(min, max)
Source
from the content-addressed store, hash-verified
252
* 随机整数生成
253
*/
254
function
randomInt(min, max) {
255
return
Math.round(Math.random() * (max - min) + min);
256
}
257
// 发送消息
258
async
function
SendMsg(message) {
259
if
(!message)
return
;
Callers
1
getRandomTime
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected