title: How do I define an object variable structure in JavaScript?
body: <p>I want to define something like the following object structure, so I can populate it from a number of sources. What statements do I need to define it?</p>
  
  <p><code>Offices[]</code> is an open-ended array as is <code>rel[]</code> underneath it. All the elements are strings or maybe numbers.</p>
  
  <pre><code>Offices.name
  Offices.desc
  Offices.rel.type
  Offices.rel.pt
  </code></pre>