title: access nested object values dynamically using JavaScript
body: <p>Assume I have an object:</p>
  <pre><code>var abc = {
      a: 'a',
      b: 'b',
      c: {
        x: 'c',
        y: 'd'
      }
  }
  </code></pre>
  <p>Now I want to fetch object values based on values present in an array below dynamically</p>
  <pre><code>var arr = ['a', 'b', 'c.x'] 
  </code></pre>