const sample = arr => arr[Math.floor(Math.random() * arr.length)]
sample([3, 7, 9, 11]) // 9
posted on 2022-09-07 11:02 小馬過河﹎ 阅读(13) 评论(0) 编辑 收藏 举报