I have this path in a string: var path = 'bonds.international.emergent' and the object portfolio.
I want to access portfolio.bonds.international.emergent, using the path in the path variable.
Something like portfolio[path], which obviously doesn't work. Anyone knows how to do this?