title: Constructing array of objects programmatically
body: <p>Say I want the object to be something like this:</p>
  
  <pre><code>var Book = {
          title: "the catcher in the rye",
          price: "80.98",
          characters: [{name: "holden caulfield", age: 16, height:"6.2"},
                       {name: "phoebe caulfield",age:13, height: "5"}] 
       };
  </code></pre>
  
  <p>EDITED</p>
  
  <p>question: 
  characters array is built by adding a character one by one. How can do this while making sure that name, age and height properties are defined as above. </p>
  
  <p>Something to the effect of?</p>
  
  <pre><code>Book.characters.add({name: "phoebe caulfield",age:13, height: "5"});
  </code></pre>
  
  <p>I would like to be able to define this programmatically, ie add properties to the object rather than define it like this.</p>
  
  <p>Is this possible?</p>