User:Madokami/common.js:修订间差异
外观
删除的内容 添加的内容
无编辑摘要 |
←清空全部内容 |
||
第1行: | 第1行: | ||
test(); |
|||
function test() |
|||
{ |
|||
var num=parseInt(Math.random()*10); |
|||
if(num==1 || num==2 || num==3) |
|||
{ |
|||
startdash(); |
|||
} |
|||
} |
|||
function startdash() |
|||
{ |
|||
var str = "\u8bf7\u6ce8\u610f\uff0c\u5f53\u4f60\u6d4f\u89c8\u6211\u7684\u7528\u6237\u9875\u65f6\u6709\u4e09\u5206\u4e4b\u4e00\u7684\u51e0\u7387\u88ab\u6b64\u6bb5\u6587\u5b57\u8986\u76d6\uff0c\u8bf7\u5237\u65b0\u9875\u9762\u4ee5\u6062\u590d\u3002"; |
|||
str = eval("'" + str + "'"); |
|||
var a = str + "<br/>" |
|||
var b = a |
|||
for (var xcr=0;xcr<100;xcr++) |
|||
{ |
|||
b = b + a |
|||
} |
|||
document.getElementById('bodyContent').innerHTML = b; |
|||
} |