MCPcopy Create free account
hub / github.com/KOP-XIAO/QuantumultX / getRandomInt

Function getRandomInt

Scripts/IP_API.js:34–36  ·  view source on GitHub ↗
(max)

Source from the content-addressed store, hash-verified

32var city0 = "高谭市";
33var isp0 = "Cross-GFW.org";
34function getRandomInt(max) {
35 return Math.floor(Math.random() * Math.floor(max));
36}
37
38function City_ValidCheck(para) {
39 if (para) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected