title: Array inside a JavaScript Object?
body: <p>I've tried looking to see if this is possible, but I can't find my answer.</p>
  
  <p>I'm trying to get the following to work:</p>
  
  <pre><code>var defaults = {
   'background-color': '#000',
   color: '#fff',
   weekdays: {['sun','mon','tue','wed','thu','fri','sat']}
  };
  </code></pre>
  
  <p>It just gives an error, and I've tried using <code>({...})</code> and <code>[{...}]</code> I'd like to be able to access the weekdays using something like:</p>
  
  <pre><code>defaults.weekdays[0];
  </code></pre>
  
  <p>is this possible?</p>