javascpt语言多个结果取任意一个,随机数怎么得到并且设置选择框

javascpt语言多个结果取任意一个,随机数怎么得到并且设置选择框

Math.floor(Math.random()*10); 获得(0-10)随机整数