title: Can the 'undefined' call in Chrome and Firefox console be removed?
body: <p>I've got a JavaScript object similar to this:</p>
  <pre><code>var profile1 = {
      one: &quot;1&quot;,
      two: &quot;2&quot;
  }
  
  var profile2 = {
      one: &quot;3&quot;,
      two: &quot;4&quot;
  }
  
  function runLoop () {
      console.log(this.one);
  }
  
  profile1.loop = runLoop;
  profile2.loop = runLoop;
  
  profile1.loop();
  </code></pre>
  <p>So profile1.loop() will run fine in this case and return a string value of &quot;1&quot;. But if I try to run it from the console in either Chrome or Firefox, &quot;1&quot; will still return, but then send out a message of &quot;undefined&quot;.</p>
  <p>Can this be fixed or am I chasing my tail here?</p>