title: In javascript, I have an array of objects. How do I console log the name of the object, rather than the contents?
body: <pre><code>jerry = {
    weight: 178
  
  }
  
  Malcom = {
    weight: 220
  }
  
  Bob = {
    Weight: 134
  
  }
  
  people = [jerry, Malcom, Bob]
  
  console.log(people[0]);
  </code></pre>
  
  <p>I'm trying to get a console.log of the object's name, "jerry". thanks for any and all help!</p>