title: Unable to get a random string selection from my JavaScript array using the Math.Random function
body: <p>I am trying to get a random input for my rock paper scissors game, but the console just returns 0 every time I call the function.</p>
  <pre><code>function computerPlay() {
      options = [&quot;rock&quot;, &quot;paper&quot;, &quot;scissors&quot;]
      let computerSelection = Math.floor(Math.random(options.length));
      console.log(computerSelection);
  }
  </code></pre>