title: How to log to the console a list of a JavaScript object's keys
body: <p>How do I <code>console.log</code> a list of the keys of an object (e.g. "<code>12342341</code>" in the code below)?</p>
  
  <pre><code>var data =
    {
      "12342341": {
        "City": "Montgomery",
        "State": "AL"
      },
      "23482342": {
        "City": "New York",
        "State": "NY"
      }
    }
  
  console.log('City: ', data[12342341].City);
  </code></pre>