Is it possible to define a "path" to the object key?
For example, if you have object :
var obj = { hello: { you: "you" } }
I would like to select it like this:
var path = "hello.you"; obj[path];
(Doesn't work explicitly, but is there a way?)
source share