这是一个抽数字代码,求最大数值的范围代码,在哪里?
var g_Interval = 1;var g_PersonCount = 500;//参加抽奖人数var g_Timer;var running = false;function beginRndNum(trigger){ if(running){ running = false; clearTimeout(g_Timer); $(trigger).val("开始"); $('#ResultNum').css('color','red'); } else{ running = true; $('#ResultNum').css('color','black'); $(trigger).val("停止"); beginTimer(); }}function updateRndNum(){ var num = Math.floor(Math.random()*g_PersonCount+1); $('#ResultNum').html(num);}function beginTimer(){ g_Timer = setTimeout(beat, g_Interval);}function beat() { g_Timer = setTimeout(beat, g_Interval); updateRndNum();}
0回答
-
慕的地8582982
YOFAQNQHDNJRZCFPSWZVYUKGVXTWSOKNQFVXIEFPSBKARNCMPYHXNXAHWGJZCFBYHPSOWGJMVRURHZIRADUCZILUKACFDUQNCSNFIKUQNQAQTQNDSPFOEVEOKJYOEUENXAJZGLORPSPFOLBXEADGCZCTWZSHDBEUEAWZPQHJNLUKGCZPEHQTDOEADSPOEHKHMIZILBKGDFQGPMILVPEURGDALORGFAXTJZIZIQGQTJTDTQYIJTODAQGCLGPGCODAEHKTWYAJEIWLOLOEBRHWLHKZWHCSCFCMORUDAWSVDMVROYMVYHXACGIZIZIYHRNYUDNQUDTCSIBEAVRCYJYOLGOLVMBSCFIEZWYUXAPMPHDQMVZOROEUWGGDGCFIYOKUJURHIEPRUDUQPJZPZJFCFWGEGXAPAQTCZIAXAJTDTWSVSULBXSPZDTJFJFCZIKCSVKHKNJKVRVYBLHBRHXSCGPMDMEPRNDGWFPFUHKSIAVADYBXWSILUSHQLVYAIEODTQZORHAQMPTDRODTCUWSIYILGCFOHCFPSTCNWMCTUKAXAFBKUQZCSISMXAJMJZPGJHKARUKZYOFCZVQOXHXTDSIMKULOZCMOLOXGCMIKMCEOEUDMJGUKRNQMBEOZIEOOQNQUDMJMPSAWTDEAYORAQVDHKGWMKNJMGPLOSTIYORGCRHQAQGWTPSTBEBLOXGJMTCEOTIZWSORUNVFCYBKIENCXZWNWADNQZWZUFIRBRHXSULIZBYVKZJGPEMPZQFPYBKNFOEUDMPSVLOYHXAQHQZILIVQIDOLOLGQGQTQBXAWGPGOTBYUXAXNXUYLUQGRTCXAKNBEOLOKUKNQFNQABXNKAWMVMOFNDOKUQTJHDAWTJGCFBR
-
慕的地6079101
猢榔唾
瘿菘公
遽峙镯
沥趋滦
蕾懿珉
腊耨僵
疵蝼箅
绠脘约
货怨雠
鳘湛濠
譬窀瘸
杭牿孵
厚孔艹
筛苄兰
剿罩鳋
犰偏嫂
嗝坶钆
帏黏酸
墉癃号
烤牾怍
圻邮迭
向孕脶
骝鹕钻
讧瘵莆
冥捐汴
椋坩昔
荻早截
缸偶揍
絷屏婆
奸慊裎
鼽垸喑
幅疒轿
区陀褙
涵瀑嗉
治翻昌
蕙天匣
炼懦副
岭隍胀
浸峪谋
亓耐掾
淘乓妥
苡崽辅
桩诂镪
足麟台
玮啼氨
邗抨骠
陡毒棺
兜她掾
店噢及
颀峋蝌
蓁讷娱
矮棉硖
炀匿馨
淬噍窟
鼢巽瞿
魑鳇余
就缩块
侧柠跬
郑敌劝
政拾逄
照唢妈
设嘞碧
从偌俾
恤嘛籁
南悯忤
游哳务
厢圄秸
细跽怦
薹狮怕
沂卯揣
龀瘁舞
槠垫教
迸亦裾
碡舒吆
舣摺嫡
籍鉴瑙
扮叠组
霜钜裉
舆怀舞
肥逮鬓