title: Using a method name as the value for an instance variable
body: <p>I'm trying to round out my Javascript knowledge. This seems like such a simple thing, yet it's puzzling me.</p>
  
  <p>I have a need to store a method name as a variable. Reducing my test case to the smallest possible size, results in the following:</p>
  
  <pre><code>var someobj = { 
    someMethod: function() {
        console.log('woo');
    }, 
    somevariable: this.someMethod
  }
  </code></pre>
  
  <p>There are no callbacks, everything's nice and simple. </p>
  
  <pre><code>console.log(someobj.someMethod);
  </code></pre>
  
  <p>Returns:</p>
  
  <pre><code>[Function]
  </code></pre>
  
  <p>Great. But:</p>
  
  <pre><code>console.log(someobj.somevariable)
  </code></pre>
  
  <p>Returns:</p>
  
  <pre><code>undefined
  </code></pre>
  
  <p>I was expecting it to return '[Function]'. Why is this?</p>
  
  <p>Thanks. </p>