摘要:
//方法一 var rand = Boolean(Math.round(Math.random())); conosole.log(rand) // 方法二: var arr = [true,false] var rand = arr[Math.floor(Math.random()*arr.length)] console.log(rand) 阅读全文
posted @ 2019-03-04 16:38
shengnan_2017
阅读(2178)
评论(0)
推荐(0)
浙公网安备 33010602011771号