title: jQuery getting value of array by index
body: <p>using jQuery, I'm trying to get values of <code>fileTypes</code> by using an index. I'm not sure how to do go about doing this but so far I've tried <code>settings.fileTypes[0]</code> which does not work. Any help is appreciated, thanks!</p>
  
  <pre><code>    var defaults = {
          fileTypes : { 
              windows: 'Setup_File.exe',
              mac: 'Setup_File.dmg',
              linux: 'Setup_File.tar.gz',
              iphone: 'iPhone App'
          }
      },
          settings = $.extend({}, defaults, options);
  </code></pre>