如何生成7到10之间的数字?到目前为止,我所知道的是在0-10的范围内产生:
Math.floor(Math.random()*11)
javascript random
javascript ×1
random ×1