title: javascript object property/array manipulation
body: <p>Some object property/array manipulation.  Is there better syntax to accomplish part 2 and 3?</p>
  
  <pre><code>// 1. create object and add element/arrays
  var myObject = {};
  myObject["123"] = { "A": 123, "B": 456 };  // add 
  myObject["123"] = { "C": 123, "D": 456 };  // add more elements to array in element!
  myObject["124"] = { "A": 123, "B": 456 };
  myObject["125"] = { "A": 123, "B": 456 };
  console.log(myObject);
  
  // 2. delete first property in array
  for (property in myObject){
          delete myObject[property];
          break;
      }
  
  // 3. show first remaining property
  for (property in myObject){
          x = property;
          console.log("first remaining property is " + x );
          break;
      }
  </code></pre>