Let's say I have object like this:
let object = {
    inner: {
        inInner: {
            a: 5
        }
    }
}
and I want to store path to property a in variable so I can access it like this:
object[pathToProperty]
Thank you for any suggestions
 
     
    