How do I select random values from an array in Javascript or Jquery?
<p>I'm trying to show 3 random values from an array. Following script is returning only single item from javaScript array.</p>

<pre><code>var arrayNum = ['One', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'];  
var singleRandom = arrayNum[Math.floor(Math.random() * arrayNum.length)];
alert(singleRandom);
</code></pre>

<p>But I want to show three random value from array <code>arrayNum</code>, can any one guide me is this possible to get 3 unique random values from an array using javascript? I will appreciate if someone guide me. Thank you</p>