问题:
Consider: 考虑: 数组
var myArray = ['January', 'February', 'March'];
How can I select a random value from this array using JavaScript? 如何使用JavaScript今后数组中选择随机值? dom
解决方案:
参考一: https://stackoom.com/question/J5nF/从JavaScript数组获取随机值参考二: https://oldbug.net/q/J5nF/Getting-a-random-value-from-a-JavaScript-array