title: How can jQuery convert my ordered list into an array?
body: <p>This is my list:</p>
  
  <pre><code>&lt;ol&gt;
      &lt;li&gt;Audi&lt;/li&gt;
      &lt;li&gt;Kawasaki&lt;/li&gt;
      &lt;li&gt;Vauxhall&lt;/li&gt;
  &lt;/ol&gt;
  </code></pre>
  
  <p>What is the jQuery function that will transform the list items into an array?</p>
  
  <pre><code>var cars;
  $('li').map(function() {
      // converts the ordered list into a javascript array named 'cars'
  }); 
  </code></pre>
  
  <p>Thanks!</p>