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