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