title: lodash _.get function in typescript
body: <p>I get the feeling after some googling that a lot of lodash's functions can be achieved with native typescript but i cannot find a straightforward answer for the _.get function...</p>
  
  <p>In lodash the following, using the _.get function alerts 1</p>
  
  <pre><code>let obj = {a:{b:1}};
  let a = _.get(obj, 'a.b');
  alert(a);
  </code></pre>
  
  <p>Is there a way of achieving the same result with only typescript?</p>