JS设置随机出现2个数字的实例代码 1和2随机出现<scripttype="text/javascript">$(function(){if(Math.random()>0.5){console.log("1");}else{consol 随机出现2个数字