title: Why is 'this' in JavaScript refer to different context in the examples?
body: <p>I am quite new to JavaScript, I am really confused by the below two examples of 'this', on what 'this' is bound to and why:</p>
  
  <p>Example 1:</p>
  
  <pre><code>function Person(age) {
      this.age = age;
      this.growOld = () =&gt; {
          this.age++;
      }
  }
  var person = new Person(1);
  setTimeout(person.growOld,1000);
  </code></pre>
  
  <p>Example 2:</p>
  
  <pre><code>var Actor = {
    name: 'RajiniKanth',
    movies: ['Kabali', 'Sivaji', 'Baba'],
    getName: () =&gt; {
       alert(this.name);
    }
  };
  
  Actor.getName();
  </code></pre>
  
  <p>Why even though both examples use arrow function, but  'this' is bound to different context?</p>