Here is the one line instruction to get a a random element from your array: YOUR_ARRAY[Math.floor(Math.random() * YOUR_ARRAY.length)] . Let's ...
確定! 回上一頁