title: Using an array to access (deeply) nested object properties
body: <p>Given javascript object:</p>
  
  <pre><code>obj = {
      a: {
          b: {
              c: 3
             }
         }
     }
  </code></pre>
  
  <p>I can access the deepest property as follows: <code>obj['a']['b']['c']</code> or <code>obj.a.b.c</code>. Now I want to access this using an array <code>['a', 'b', 'c']</code>. How can I access the same object property using this array?</p>
  
  <p>Note: the method does not have to "safe", so no need to check for: typeError: cannot read property ... of undefined.</p>