title: Why does 'this' not work in this instance?
body: <p>This way doesn't work:</p>
  
  <pre><code>var myObj = {
    name : 'luke',
    age : '24',
    myFunc: (function() {
      console.log(this.name); //returns nothing 
    }())
  };
  </code></pre>
  
  <p>If I use this: </p>
  
  <pre><code>var myObj = {
    name : 'luke',
    age : '24',
    myFunc: (function() {
      console.log(myObj.name); //it works
    }())
  };
  </code></pre>
  
  <p>What makes 'this' fail in the first example on line 5?</p>