title: How to call Json objects dynamically?
body: <p>var house = {'floor':{'one':'3 people','two':'1 people'}}
      var tmp = 'one';
  and I want to call like this..</p>
  
  <pre><code>console.log(house.floor.tmp) // expecting '3 people' result
  </code></pre>
  
  <p>tmp value will get from somewhere dynamically but it's not working. How can I solve this?</p>