title: how to access function/class properties javascript
body: <p>In the following code, I am having trouble figuring out how to log (in the console) the <code>name</code> and <code>numLegs</code> properties of <code>Penguin</code> (i.e., "emperor" and 2), <strong>without</strong> changing the inside of the function?</p>
  
  <pre><code>function Penguin(name) {
      this.name = name;
      this.numLegs = 2;
  }
  
  var emperor = new Penguin("emperor");
  </code></pre>
  
  <p>How can I do that?</p>