function random (min,max) { return Math.floor(Math.random()*(max-min)+1) } console.log(random(1,4))
本文来自博客园,作者:zjxgdq,转载请注明原文链接:https://www.cnblogs.com/zjxzhj/p/14498188.html