JavaScript - Output random OBJECT from array of objects : <p>Quick question, I have an array of objects:</p>

<pre><code>var objects = [
  {username: jon, count: 5},
  {username: sally, count: 7},
  {username: mark, count: 9,
]
</code></pre>

<p>I want to output one of these objects at random so that I can access its properties and not just it's index.
How do I do this?</p>
