📅  最后修改于: 2022-03-11 15:03:23.393000             🧑  作者: Mango
var options = ["Your options", "Another option!", "This is an option."];
var chosenOption = Math.floor(Math.random() * options.length);
console.log(options[option]);